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

debug1: sshd version OpenSSH_4.4p1-hpn [ HP-UX Secure Shell-A.04.40.005 ]
debug1: read PEM private key done: type RSA
debug1: private host key: #0 type 1 RSA
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DSA
debug2: fd 4 setting O_NONBLOCK
debug1: Bind to port 1111 on 0.0.0.0.
Server listening on 0.0.0.0 port 1111.
This level of debug output includes the debug1 and debug2 level messages.
Following is the output for the -ddd command-line option:
debug3: RNG is ready, skipping seeding
debug2: load_server_config: filename /opt/ssh/etc/sshd_config
debug2: load_server_config: done config len = 270
debug2: parse_server_config: config /opt/ssh/etc/sshd_config len 270
debug1: sshd version OpenSSH_4.4p1-hpn [ HP-UX Secure Shell-A.04.40.005 ]
debug3: Not a RSA1 key file /opt/ssh/etc/ssh_host_rsa_key.
debug1: read PEM private key done: type RSA
debug1: private host key: #0 type 1 RSA
debug3: Not a RSA1 key file /opt/ssh/etc/ssh_host_dsa_key.
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DS
Adebug2: fd 4 setting O_NONBLOCK
debug1: Bind to port 1111 on 0.0.0.0.
Server listening on 0.0.0.0 port 1111.
This level of debug output includes the debug1, debug2, and debug3 level messages.
Debugging the HP-UX Secure Shell Client
One of the best tools for troubleshooting the HP-UX Secure Shell client is the verbose option,-v.
With the -v command-line option, the HP-UX Secure Shell client displays helpful messages such
as the version number of HP-UX Secure Shell, type of authentication methods it is attempting, and
the authentication method that has succeeded.
In addition to the HP-UX Secure Shell client, the -v debugging command-line option is available
for the following HP-UX Secure Shell commands:
ssh-keyscan
sftp
scp
ssh-keygen
Debugging Option
The HP-UX Secure Shell client provides the following debugging command-line option:
-v Indicates the verbose mode. When ssh is run in the verbose mode, ssh prints debugging
messages about its progress. This is helpful in debugging connection, authentication, and
configuration problems. Multiple -v options increase the verbosity of the debugging messages.
Running ssh in Debug Mode
Following is the syntax to run the HP-UX Secure Shell client in verbose mode:
$ ssh -[v vv vvv] [2> <outputfile>]
Where:
<outputfile> specifies the file to which the error messages are redirected. You can use this file
to analyze the problem or to send the file to HP support if you are unable to solve the problem.
You can use multiple -v options to increase the amount and detail of the debug messages.
NOTE: You can use a maximum of three -v options to generate different levels of debug messages.
Debugging the HP-UX Secure Shell Client 57