ssh doesn't work from inetd but ok as a daemon
From: some body (mackin_cool@yahoo.com)Date: 10/15/02
- Next message: Darren Dunham: "Re: ssh doesn't work from inetd but ok as a daemon"
- Previous message: Vic Abell: "Re: How to define port number access in /etc/hosts.allow"
- Next in thread: Darren Dunham: "Re: ssh doesn't work from inetd but ok as a daemon"
- Reply: Darren Dunham: "Re: ssh doesn't work from inetd but ok as a daemon"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: mackin_cool@yahoo.com (some body) Date: 15 Oct 2002 14:01:19 -0700
I'm hoping someone can help me debug the following problem on a Sun
Solaris server. My version of secure shell is 3.1, (I tried 3.4 but
couldn't get it to work)
I can't get secure shell to work from inetd but it works ok when
running as a daemon. I have secure shell running from inetd on several
other machines so Im not a total rookie. Im using the same version on
all machines and the same configuration. I have tried the following
commands on my localhost, I figured it would eliminate some of the
complexity. To my surprise it does not work on my localhost. As I have
said already it works when running inetd as a standalone daemon
locally and remote. My ideal preference is to run it from inetd. The
"connection refused" message seems to be generated when sshd is not
running so I might guess that sshd it not been started from inetd
# telnet localhost 22
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
# ssh -v localhost
OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f
debug1: Reading configuration data /usr/local/etc/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be
trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 0 geteuid 0 anon 1
debug1: Connecting to localhost [::1] port 22.
debug1: temporarily_use_uid: 0/1 (e=0)
debug1: restore_uid
debug1: temporarily_use_uid: 0/1 (e=0)
ssh: connect to address ::1 port 22: Network is unreachable
debug1: restore_uid
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: temporarily_use_uid: 0/1 (e=0)
debug1: restore_uid
debug1: temporarily_use_uid: 0/1 (e=0)
ssh: connect to address 127.0.0.1 port 22: Connection refused
debug1: restore_uid
The entry in /etc/inet/inetd.conf looks like ..
ssh stream tcp nowait root /usr/local/sbin/sshd sshd
-i
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
Any help would be appreciated, I can't afford to spend another 6 hours
on this tomorrow. Thanks in advance.
- Next message: Darren Dunham: "Re: ssh doesn't work from inetd but ok as a daemon"
- Previous message: Vic Abell: "Re: How to define port number access in /etc/hosts.allow"
- Next in thread: Darren Dunham: "Re: ssh doesn't work from inetd but ok as a daemon"
- Reply: Darren Dunham: "Re: ssh doesn't work from inetd but ok as a daemon"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|