Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

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

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.