On Tue, Apr 25, 2000 at 09:48:13AM -0500, Ben Segbawu wrote:
> I have successfully installed ssh ver 1.2.26 on HPUX 10.20 but the ssd
> daemon will not work
> here is the  message that shows in the syslog file.
> 
> Apr 24 12:45:14 pizza sshd[8175]: error: bind: Address already in use
> Apr 24 12:45:14 pizza sshd[8175]: fatal: Bind to port 22 failed: Error 0.
> Apr 25 09:33:22 pizza sshd[13860]: error: bind: Address already in use
> Apr 25 09:33:22 pizza sshd[13860]: fatal: Bind to port 22 failed: Error 0 

You already have a process running at port 22.
Use a tool like "lsof" to find out the process that is bound to port 22.

> ssh -v from another machine gives me the following result
> 
> ns03: Connecting to pizza.xxx.com [192.168.2.200] port 22.
> ns03: Allocated local port 1023.ns03: Connection established.
> 
> Connection closed by foreign host.

Closed immedeatly after opening (probably after a short moment!?)...
Looks like tcpwrapper...
In this case (if you do not already have an sshd running), the process
is probably started by inetd, so that inetd might be bound to port 22.
Check /etc/services for port 22 (should not be listed in the HP-UX
default /etc/services file). If it is listed, have a look to the name of
the service and cross check against /etc/inetd.conf.
Of course, all of this inetd and tcpwrapper idea is just a wild guess...

Best regards,
        Lutz
-- 
Lutz Jaenicke                             [EMAIL PROTECTED]
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153

Reply via email to