Cannot bind any address

Markus Friedl markus at openbsd.org
Fri Oct 5 17:45:09 EST 2001


i think the message is already very appropriate.

On Fri, Oct 05, 2001 at 09:08:05AM +0200, Markus Werle wrote:
> Hi!
> 
> I just post this as a kind of backup or reminder,
> so future searches will lead to the solution.
> 
> It is possible to change the openssh version
> on the fly without cutting existing connections.
> One just moves the old crap to another place,
> installs the new binaries and everything is fine.
> 
> When users log out and in again they are
> using the new version without any further pain.
> 
> This works only if You kill -15 the master sshd
> (the childs stay alive)
> If You do not kill it, You will get error messages of the
> form:
> 
> # /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.
> 
> 
> Markus
> 



More information about the openssh-unix-dev mailing list