Re: ssh doesn't work from inetd but ok as a daemon

From: some body (mackin_cool@yahoo.com)
Date: 10/16/02


From: mackin_cool@yahoo.com (some body)
Date: 16 Oct 2002 05:34:46 -0700

Darren Dunham <ddunham@redwood.taos.com> wrote in message news:<RI%q9.1307$5u3.70133921@newssvr13.news.prodigy.com>...
> some body <mackin_cool@yahoo.com> wrote:
>
> > # telnet localhost 22
> > Trying 127.0.0.1...
> > telnet: Unable to connect to remote host: Connection refused
>
> That looks to me like nothing is listening on 22, inetd included.
>
> Does 'netstat -an' show anything listening on 22? Is inetd logging any
> errors when you 'HUP' it?
>
> When running from inetd you will not see anything listening on 22 since this is handled by inetd, when running as a daemon it will show up on netstat output.
 
> > I have tried the following in sshd_config but it didnt work
> > ListenAddress 0.0.0.0
> > ListenAddress ::
>
> > I then tried the following in sshd_config but it didnt work
> > ListenAddress 10.1.10.51
> > ListenAddress 127.0.0.1
>
> Do those options have any effect at all when the daemon is started by
> inetd?
>
> Both of these options have no affect, works as a daemon, not from inetd.



Relevant Pages

  • Re: ssh doesnt work from inetd but ok as a daemon
    ... > telnet: Unable to connect to remote host: Connection refused ... That looks to me like nothing is listening on 22, inetd included. ... > ListenAddress:: ...
    (comp.security.ssh)
  • RE: starting daemons at server start
    ... This didn't work on restarting just now, ... I don't know if the script is ... changed the script from another daemon. ... > from inetd, then after the ...
    (freebsd-questions)
  • Re: inetd vs standalone daemon
    ... With inetd, you can also turn regular filters into network ... Because the big daemon needs to find out which service ... would it forkthe configured program to handle the connection. ...
    (freebsd-questions)
  • Re: How secure is inetd nowadays?
    ... just installed Leafnode, having found Cnews way too abstruse and INN ... Leafnode will not run as a standalone daemon, ... reinstall inetd. ... Both inetd and xinetd watch the incoming ...
    (comp.os.linux.security)
  • Re: How secure is inetd nowadays?
    ... Leafnode will not run as a standalone daemon, ... inetd has been replaced by xinetd. ...
    (comp.os.linux.security)