Search This Blog

Detect SSH authentication methods

ssh -vvv user@ssh-server 2>&1 | grep "Next authentication method"
It should print the authentication methods supported by the remote SSH server, for example:
debug1: Next authentication method: gssapi-keyex
debug1: Next authentication method: gssapi-with-mic
debug1: Next authentication method: publickey
debug1: Next authentication method: keyboard-interactive

No comments:

Post a Comment