You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI : Enable SSH Debug for Troubleshooting

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.:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!