HP-UX Secure Shell Getting Started Guide
<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.
Table 7-2 lists the information that is displayed for the -v, -vv, and -vvv debug options.
Table 7-2 Debug Information for -v, -vv, and -vvv Options
Details DisplayedDebug Option
• The Identity File
• The “Authentication succeeded” message
-v
• All the -v messages
• The private key bit set
-vv
• All the -v and -vv messages
• The location of the ssh-rand-helper
• Details such as authmethod_lookup and authmethod_is_enabled
-vvv
The following sample debug messages show the level of detail displayed for the same HP-UX
Secure Shell connection, using the -v, -vv, and -vvv debug command-line options.
• Following is the output for the -v command-line option:
debug1: Reading configuration data /opt/ssh/etc/ssh_config
debug1: Connecting to localhost [127.0.0.1] port 1111.
debug1: Connection established.
debug1: permanently_set_uid: 0/3
debug1: identity file /.ssh/id_rsa type 1
debug1: identity file /.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.4p1-hpn
• Following is the output for the -vv command-line option:
debug1: Reading configuration data /opt/ssh/etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [127.0.0.1] port 1111.
debug1: Connection established.
debug1: permanently_set_uid: 0/3
debug2: key_type_from_name: unknown key type ’-----BEGIN’
debug2: key_type_from_name: unknown key type ’-----END’
debug1: identity file /.ssh/id_rsa type 1
• Following is the output for the -vvv command-line option:
debug1: Reading configuration data /opt/ssh/etc/ssh_config
debug3: Seeding PRNG from /opt/ssh/libexec/ssh-rand-helper
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [127.0.0.1] port 1111.
debug1: Connection established.
debug1: permanently_set_uid: 0/3
debug3: Not a RSA1 key file /.ssh/id_rsa.
Interpreting the Debug Output
Use the HP-UX Secure Shell debug output to analyze problems. The debug output describes the
various stages of an HP-UX Secure Shell connection.
This section provides sample debug output for an HP-UX Secure Shell client that uses public-key
authentication.
62 Troubleshooting HP-UX Secure Shell