Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 am a programming and not a SA but in the current firm I am in I have to do some lite SA work so I have a question..

I have server a number of servers (really VM's) which I ssh into.. I installed my public-key to them so I don't have to remember the passwords.

If someone changes the password to one of the servers will my ssh still work?

share|improve this question
Why would someone change your password without informing you? It seems like there might be some other non-technical issues here. – EEAA Dec 7 '12 at 18:16
@EEAA, because lots of people ignore the common security wisdom, and setup shared accounts for accessing resources. Regrettably, this is very common from I have seen. – Zoredache Dec 7 '12 at 18:33
@Zoredache - Ugh. – EEAA Dec 7 '12 at 18:33
up vote 4 down vote accepted

If someone changes the password to one of the servers will my ssh still work?

Yes you will still have access unless:

  • they disable key-based authentication
  • they remove your key
  • they remove the account you have setup your key under
share|improve this answer

Yes, you will still be able to SSH to the servers if a password change occurs. The SSH key framework does not rely on the password infrastructure.

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.