Debug SSH connection problems with verbose output
ssh permission denied publickey debug | ssh verbose mode | why is ssh key not working | ssh | debug | troubleshootingssh -vvv -p 22 webuser@server.example.comPrints every step of the connection setup: configuration files read, negotiated algorithms, keys offered and the server’s response. The lines with Offering public key and Authentications that can continue are particularly revealing. They show whether the wrong key is being offered or the method is rejected by the server.
Note: The server logs the reason for a rejection in the SSH service journal, often more clearly than the client.
Also searched as
- ssh permission denied publickey debug
- ssh verbose mode
- why is ssh key not working