Debugging SSH
troubleshootingSSH failures are rarely mysterious once you ask the right tool. Four tools cover almost every case: verbose output (ssh -v) shows what the client tried and where it failed, config resolution (ssh -G) shows what configuration actually applied, agent inspection (ssh-add -l) shows which keys are loaded, and server-side logs show why the server said no.