Well, you shouldn't be running SSHD from INETD anyway. It works, but works
better from a startup script (/etc/rc.d/init.d in linux). If you want one, I
have it for Caldera OpenLinux. Slight mods will make it work elsewhere.
Also, I throw all my SSH stuff into /etc/ssh.d and have adjusted the
makefile accordingly (including standard naming like sshd.conf, ssh.conf,
and ssh_host.keys (note the "." where they are supposed to be, rather than
"_").
> -----Original Message-----
> From: Truc Tran [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 07, 2000 9:45 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: RE: sshd and port problem
>
>
> Yes, I now define port 22 in /etc/services, add ssh in the
> inetd.conf, send a HUP signal to inetd. Run sshd and receive
> the same error messages. Does it help to remove all ssh
> component and restart the process of configure, make and so on?
>
> >>> Roeland Meyer <[EMAIL PROTECTED]> 12/06/00 02:13PM >>>
> Have you defined port 22 in "services"?
>
> > -----Original Message-----
> > From: Truc Tran [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, December 06, 2000 9:14 AM
> > To: [EMAIL PROTECTED]
> > Subject: sshd and port problem
> >
> >
> > Hi,
> >
> > I am very new with ssh and having a problem with starting
> > sshd. I configure, make and make install with no problem.
> > At first, I successfully start the sshd at port 22 on my Sun
> > Solaris 7. After modifying the sshd2_config, I decided to
> > restart the sshd, forgetting to kill the process in advance.
> > Since then, I receive the message
> > "FATAL: Creating listener failed: port 22 probably already
> in use!".
> > I checked my /etc/services files and found no services run at
> > port 22. I also try to use other ports and receive the same
> > error message. I shut down the server, restart it and try to
> > run the sshd with no success. Can someone help me in how to
> > solve this problem.
> >
> > Thanks in advance.
> > Truc Tran
> >
>