Cannot bind any address

Kevin Steves stevesk at pobox.com
Sat Oct 6 06:52:37 EST 2001


On Fri, 5 Oct 2001, Markus Werle wrote:
:# /opt/openssh-2.9.9p2/sbin/sshd -d
:[...]
:debug1: read PEM private key done: type DSA
:debug1: private host key: #2 type 2 DSA
:debug1: Bind to port 22 on ::.
:debug1: Bind to port 22 on 0.0.0.0.
:Cannot bind any address.
:
:Took me quite a while to find out I forgot to kill
:the old one.
:
:feature request:
:sshd detects a concurring sshd is running and gives an
:appropriate error message.

are you using linux?  you should have seen something like:

 debug1: Bind to port 22 on ::.
 Bind to port 22 on :: failed: Address already in use.
 debug1: Bind to port 22 on 0.0.0.0.
 Bind to port 22 on 0.0.0.0 failed: Address already in use.
 Cannot bind any address.

where the address already in use gives additional information.

see this thread for details:
http://marc.theaimsgroup.com/?t=98241837100002&w=2&r=1




More information about the openssh-unix-dev mailing list