Linux Commands / IT Support Guides
Collect SSH connection diagnostics without weakening security
Use SSH client messages to tell which stage of a login needs attention.
Environment and inputs: Linux · Bash-compatible shell; package and service names vary by distribution
Understand the problem
Use the approved hostname and account. Replace support@example.com with the details provided by your administrator.
Run the command
Run ssh -v for a verbose connection attempt. Close the session with exit if the login succeeds.
ssh -v support@example.com
Read the output
A connection timeout occurs before sign-in. A host key warning concerns the server identity. Permission denied after connecting means the login method was rejected.
Choose the next step
For a timeout, verify the hostname, port and network access. For a host key warning, confirm the trusted fingerprint with your administrator. For rejected login, confirm the assigned account and approved sign-in method.
Before making changes
Share only the relevant lines after reviewing them for account names, local paths, and other sensitive values. Keep host key verification enabled.