ssh -vvv -> debug messages

The server may inform the client of errors that prevented public key authentication from succeeding after authentication completes using a different method. These may be viewed by increasing the LogLevel to DEBUG or higher (e.g. by using the -v flag).
reference: https://man7.org/linux/man-pages/man1/ssh.1.html

LogLevel - Gives the verbosity level that is used when logging messages from ssh(1). The possible values are: QUIET, FATAL, ERROR, INFO, VERBOSE, DEBUG, DEBUG1, DEBUG2, and DEBUG3. The default is INFO. DEBUG and DEBUG1 are equivalent. DEBUG2 and DEBUG3 each specify higher levels of verbose output.
reference: https://www.man7.org/linux/man-pages/man5/ssh_config.5.html

You may also refer to WikiBooks for more information on logging and troubleshooting, specific to OpenSSH:

I hope this helps!
 
  • Like
Reactions: precious
When the ssh command is executed, with either 1, 2, or 3 -v switches, it outputs various debug messages. Does anyone know a resource that will provide an explanation for the debug messages that appear in the output?
To understand the debug messages from the `ssh` command, you can adjust the `LogLevel` in the SSH configuration. Setting it to DEBUG or using the `-v` flag will show more detailed output about authentication failures. For more information, check the SSH man pages ssh(1)(https://man7.org/linux/man-pages/man1/ssh.1.html) and ssh_config(5)(https://www.man7.org/linux/man-pages/man5/ssh_config.5.html)). Additionally, WikiBooks has useful resources on logging and troubleshooting with OpenSSH.
 
The server may inform the client of errors that prevented public key authentication from succeeding after authentication completes using a different method. These may be viewed by increasing the LogLevel to DEBUG or higher (e.g. by using the -v flag).
reference: https://man7.org/linux/man-pages/man1/ssh.1.html

LogLevel - Gives the verbosity level that is used when logging messages from ssh(1). The possible values are: QUIET, FATAL, ERROR, INFO, VERBOSE, DEBUG, DEBUG1, DEBUG2, and DEBUG3. The default is INFO. DEBUG and DEBUG1 are equivalent. DEBUG2 and DEBUG3 each specify higher levels of verbose output.
reference: https://www.man7.org/linux/man-pages/man5/ssh_config.5.html

You may also refer to WikiBooks for more information on logging and troubleshooting, specific to OpenSSH:

I hope this helps!
Thanks for sharing
 
  • Like
Reactions: jarrelrivera


The server may inform the client of errors that prevented public key authentication from succeeding after authentication completes using a different method. These may be viewed by increasing the LogLevel to DEBUG or higher (e.g. by using the -v flag).
reference: https://man7.org/linux/man-pages/man1/ssh.1.html

LogLevel - Gives the verbosity level that is used when logging messages from ssh(1). The possible values are: QUIET, FATAL, ERROR, INFO, VERBOSE, DEBUG, DEBUG1, DEBUG2, and DEBUG3. The default is INFO. DEBUG and DEBUG1 are equivalent. DEBUG2 and DEBUG3 each specify higher levels of verbose output.
reference: https://www.man7.org/linux/man-pages/man5/ssh_config.5.html

You may also refer to WikiBooks for more information on logging and troubleshooting, specific to OpenSSH:

OpenSSH/Logging and Troubleshooting - Wikibooks, open books for an open world


en.wikibooks.org
en.wikibooks.org
 
  • Like
Reactions: precious