Super User is a question and answer site for computer enthusiasts and power users. 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

Is SSH key based authentication something that happens to replace password authentication or does it supplement password authentication?

share|improve this question
up vote 3 down vote accepted

Several authentication methods can be allowed, but only one is usually1 used – for example, if the server offers gssapi-with-mic, publickey, password and client chooses publickey, then only the key will be used for authentication and all other methods will be skipped.


1 In some very rare situations, two auth methods will be used for the same connection – for example, when the first connection to Bitvise WinSSHd uses publickey it will additionally ask for the password – but this is an exception to the rule.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .