Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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


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.