Is there a way to list all available SSH authentication methods for the local host using command line? Basically, I want to see the same list which the server would announce when trying to connect from a (remote) client.
Note: I do not want to search through /etc/ssh/sshd_config
, as this will require too much understanding of which authentication methods do in general exist (e.g. sshd_config
may just be emtpy)
ssh -v server and look for the first "Authentications that can continue" line.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With