Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to ssh to a box using a dsa key. I'm prompted for my pass-phrase, but then it defaults to using password authentication. Seems like it would do this if the first authentication failed, but there is not mention of this, and I've done this on lots of other servers time and time again - now with this new server it has just become a problem

How can I tell what auth methods a server supports?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

If you run ssh -v then in the output you'll find a line like:

debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password

which details what are the options supported by the server.

share|improve this answer
    
Add multiple -v options, e.g. -vv, -vvv for more details. –  dmourati May 17 '11 at 5:06

I do not know about Windows but if you are going from a Linux system then ssh -v will list the authentication methods that are cycled through as you make your connection.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.