STIGhubSTIGhub
STIGsSearchCompare

STIGhub

A free tool to search and browse the entire DISA STIG library. Saves up to 75% in security compliance research time.

Navigation

  • Browse STIGs
  • Search
  • Compare Versions

Resources

  • About
  • Release Notes
  • VPAT
  • DISA STIG Library
STIGs updated 3 hours ago
Powered by Pylon
© 2026 Beacon Cloud Solutions, Inc. All rights reserved.
← Back to VMware vSphere 8.0 vCenter Appliance Photon OS 4.0 Security Technical Implementation Guide

V-258879

CAT II (Medium)

The Photon operating system must configure Secure Shell (SSH) to display the last login immediately after authentication.

Rule ID

SV-258879r933698_rule

STIG

VMware vSphere 8.0 vCenter Appliance Photon OS 4.0 Security Technical Implementation Guide

Version

V1R1

CCIs

CCI-000366

Discussion

Providing users with feedback on the last time they logged on via SSH facilitates user recognition and reporting of unauthorized account use.

Check Content

At the command line, run the following command to verify the running configuration of sshd:

# sshd -T|&grep -i PrintLastLog

Example result:

printlastlog yes

If "PrintLastLog" is not set to "yes", this is a finding.

Fix Text

Navigate to and open:

/etc/ssh/sshd_config

Ensure the "PrintLastLog" line is uncommented and set to the following:

PrintLastLog yes

At the command line, run the following command:

# systemctl restart sshd.service