HP-UX Secure Shell Getting Started Guide
.
debug1: Trying private key: /.ssh/id_rsa
debug1: Trying private key: /.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
>>>> Indicates that
public-key authentication has failed and the client is trying the
next authentication on the list.
Password: >>>> Indicates the password prompt in which
you must enter your HP-UX Secure Shell password.
debug1: Authentication succeeded (keyboard-interactive).
>>>> Indicates that the authentication succeeded.
debug1: channel 0: new [client-session]
>>>> Indicates that a new client session is open.
debug1: Entering interactive session.
>>>> Indicates that the client has entered into an
interactive session.
Generating Debug Messages Using the LogLevel Configuration Directive
You can use the LogLevel configuration directive in the HP-UX Secure Shell server and client
configuration files /opt/ssh/etc/sshd_config and /opt/ssh/etc/ssh_config to control
the level of debug information generated during an HP-UX Secure Shell connection.
The LogLevel Configuration Directive
You can set LogLevel to one of the following values:
QUIET
Indicates that messages are not logged.
FATAL
Indicates that fatal messages are logged.
ERROR
Indicates that HP-UX Secure Shell logs all error messages.
INFO
Indicates the information that must go to the log.
VERBOSE
Indicates that HP-UX Secure Shell logs more detailed messages.
DEBUG
Specifies debugging messages that must not be logged during normal operation.
debug1 Specifies the debugging mode level one. This mode is the same as DEBUG. It is also
the same as specifying -d or -v on the command line.
debug2 Specifies debugging level two. It is also the same as specifying -dd or -vv on the
command line.
debug3 Specifies debugging level three. It is also the same as specifying -ddd or -vvv on
the command-line.
Of the different types of messages listed, only FATAL and ERROR values pertain to error messages.
The other values generate messages you can use for informational or debug-trace purposes.
The -d and -v command-line options do not log FATAL or ERROR messages. The LogLevel
directive is more flexible and friendly compared to the command-line options.
The default value for LogLevel is INFO.
Table 7-3 lists the LogLevel values and the equivalent -d and -v command-line options.
Table 7-3 LogLevel and Debugging Values
Equivalent Debugging OptionLogLevel Value
-d and -vdebug1
-dd and -vvdebug2
-ddd and -vvvdebug2
64 Troubleshooting HP-UX Secure Shell