View previous topic :: View next topic |
Author |
Message |
newtonian Guru
Joined: 19 Jan 2005 Posts: 465 Location: Hokkaido Japan
|
Posted: Fri Dec 07, 2007 4:07 pm Post subject: sshd Bind to port 22 on 0.0.0.0 failed: [solved] |
|
|
I've seen this issue on a couple of gentoo machines but couldn't find any advice
in the gentoo forums, so I'm posting the solution.
After upgrading or installing ssh I wasn't able to login via ssh. A look at the logs
revealed:
Code: | Dec 8 08:14:01 [sshd] Server listening on :: port 22.
Dec 8 08:14:01 [sshd] error: Bind to port 22 on 0.0.0.0 failed: Address already in use. |
A google search brought me to this post:
http://www.linuxquestions.org/questions/linux-security-4/logwatch-reports-sshd-killed-failed-to-bind-0.0.0.0-port-22-352499/
Which says to do something like this:
Code: | vim /etc/ssh/sshd_config |
and change this: Code: | #ListenAddress 0.0.0.0 |
to this: Code: | ListenAddress 0.0.0.0 |
Hope this helps anyone facing the same issue.
Cheers, |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Sat Dec 08, 2007 9:21 am Post subject: |
|
|
Moved from Networking & Security to Documentation, Tips & Tricks. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|