Running SSH in Debug Mode

Unix

21 Nov 2015

Running SSH in Debug Mode

Preston Garrison 0 Comments

If your having trouble figuring out why keys don’t work, or why you can’t login proper with sftp servers, etc, its a good idea to run ssh in debug mode to see the errors. Keep in mind after you connect and disconnect sshd will exit, so you need to run it again for multiple tests.

/usr/sbin/sshd -p 8822 -D -d -e