"This was a problem, because my initial packets to the server were met with immediate disconnects, and I’d now lost my main means of debugging. I banged my head against the wall for a while, then at the suggestion of a friend, decided to turn the server’s OpenSSH log verbosity way up. I bumped the LogLevel in /etc/ssh/sshd_config to DEBUG3, and suddenly I was getting helpful error messages!"
ssh server can be run with -d option for monitoring. It redirects debug messages to stdout.
ssh server can be run with -d option for monitoring. It redirects debug messages to stdout.
/usr/sbin/sshd -d