sshd error on 5.4

Kris Kennaway kris at obsecurity.org
Tue Jan 31 16:44:46 PST 2006


On Tue, Jan 31, 2006 at 04:39:23PM -0800, gahn wrote:
> Hi All:
> 
> I upgraded sshd on the 5.4 (VPN server) and made
> /etc/rc.d/sshd using /usr/local/sbin/sshd instead of
> old one /usr/sbin/sshd.

If you modified the rc.d script, you did something wrong.  It already
provides rc.conf variables that you can use to control the location of
the ssh binary to run (see the rc.conf manpage).

> well, now I got error whenever
> the server reboots:
> 
> sshd[445]: Bind to port 22 on 0.0.0.0 failed. Address
> already in use.
> sshd[445]: Fata: Connot bind any address.
> 
> seems to be the old sshd is still running but I can't
> find it.

How did you look?  ps, and sockstat will both show it.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060131/4ea350f0/attachment.bin


More information about the freebsd-questions mailing list