HP-UX Secure Shell Getting Started Guide HP-UX 11i v1, HP-UX 11i v2, and HP-UX 11i v3 (5900-3142, June 2013)

Verifying HP-UX Secure Shell Installation
To verify that the installation was successful, take the following actions:
To verify whether the HP-UX Secure Shell software is successfully installed on your system, run
the following command at the HP-UX prompt:
# swlist | grep T1471AA (HP-UX 11i v1 and HP-UX 11i v2)
# swlist | grep SecureShell (HP-UX 11i v3)
The following output is displayed if the HP-UX Secure Shell software is installed successfully
on your system:
T1471AA A.06.20.001 HP-UX Secure Shell (on HP-UX 11i v1 and HP-UX 11i v2)
SecureShell A.06.20.003 HP-UX Secure Shell (on HP-UX 11i v3)
NOTE: The version number displayed in the output varies according to the version of HP-UX
Secure Shell you installed.
To verify whether the sshd daemon is running, run the following command:
# ps -ef | grep sshd
The following output is displayed if the sshd daemon is running on the system:
root 743 1 0 Sep 28 ? 0:00 /opt/ssh/sbin/sshd
root 14909 14800 0 20:39:05 pts/0 0:00 grep sshd
To verify whether the host keys have been generated, run the following command:
# ls /opt/ssh/etc
If host keys were generated, the /opt/ssh/etc directory contains the following files:
moduli
ssh_host_key
ssh_config
ssh_host_key.pub
sshd_config
ssh_host_dsa_key
ssh_host_ecdsa_key
ssh_host_rsa_key
ssh_host_dsa_key.pub
ssh_host_ecdsa_key.pub
ssh_host_rsa_key.pub
If the HP-UX Secure Shell software is not installed successfully on your system, run the following
command at the HP-UX prompt to view the log file for errors:
# grep -i error /var/adm/sw/swagent.log
For more information on troubleshooting HP-UX Secure Shell, see “Troubleshooting HP-UX Secure
Shell” (page 55).
Installation and Verification 23