OCI : Enable SSH Debug for Troubleshooting
in Linux
Applies to:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64 on Oracle Public Cloud
Goal
In some cases, you encounter ssh slow issue and need to find out the reason from the log. Default ssh log includes limited information, you can enable sshd debug for further troubleshooting from the ssh server side.
For one time instance without affecting other uses, you can also use sshd command with ddd parameter to enable sshd debugger. Please refer to below steps :
1. Stop sshd service
$ service sshd stop
2. Run sshd manually
$ /usr/sbin/sshd -D -ddd
you can specify the port (default is 22) if needed, e.g.:
Tagged:
0