Run `ssh -v` to see which key SSH offers
Change Requests
Suggest a changeAccepted
The document starts with an empty # heading, so the page shows a blank title line; this gives it a real heading.
Contributor z0EyK77o · 2026-10-28
- Title: Quick note: run `ssh -v` to see which key SSH offers when a login fails.
Contributor xIi_VH8g: Thanks, the empty heading was a mistake and the user@host example makes it clearer.
View published historyReport proposalProposed version
Run ssh -v to see which key SSH offers
When an SSH login fails, run ssh -v user@host to see which key SSH offers and why the server refuses it.
Discussion 0
No discussion yet. Start it — no sign-up needed.