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 have a server with real IP Addresses connected to my office network. once I change the server IP address to a different IP ( and connect my laptop to it I'm unable to connect to it with ssh. this is the message I get: $ error: Bind to port 22 on failed: Address already in use'

I can ping with no problem and it also aksed me to enter a username and password but I can not login and I see on my ssh client "password not correct" $ error: Bind to port 22 on failed:' Address already in use - I see on the server side any idea? Thanks!! Elad.

share|improve this question
It sounds like you are trying to run two copies of ssh on the same port or something? What do you see when you run ss -lpn. – Zoredache Apr 18 '12 at 18:48

Looks like two different problems to me. "password not correct" is a mostly meaningless answer (and it is often not true). Start your sshd in debug-mode to see the real reason why it fails.

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.