Subject: sshd gives failure to bind port 22 error - NetBSD-1.5.2
To: None <netbsd-users@netbsd.org, current-users@netbsd.org>
From: Gerald C. Simmons <simmons@darykon.cet.com>
List: current-users
Date: 07/13/2002 22:36:10
I've turned on sshd on port 22 in /etc/services. Generated all the host_keys. Generated user keys.
I try ssh localhost, or ssh simmons@dakkon, with -v on. No errors, but I get:
ssh_exchange_identification: Connection closed by remote host
In /var/log/authlog, the following errors are generated:
Jul 13 21:31:49 dakkon sshd[1594]: connection from dakkon.darykon.cet.com, service ssh (tcp)
Jul 13 21:31:49 dakkon sshd[1594]: error: Bind to port 22 on :: failed: Address already in use.
Jul 13 21:31:49 dakkon sshd[1594]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
Jul 13 21:31:49 dakkon sshd[1594]: fatal: Cannot bind to any address.
What am I doing wrong???
Gerry Simmons
simmons@darykon.cet.com