more on non-working ssh
Ken Schweigert
yellowdog-general@lists.terrasoftsolutions.com
Tue Mar 30 12:54:01 2004
On Tue, Mar 30, 2004 at 01:19:50PM -0600, Dan Day wrote:
> > 0.0.0.0 is binding to all available IPs on the box.
> >
> > If you have a box with multiple interfaces and only want sshd listening
> > on one of them, edit /etc/ssh/sshd_config and set the ListenAddress to
> > the IP of the appropriate interface.
> >
> > What error are you getting when you try and ssh into this box?
> > Connection-refused?
> > long timeout?
> > permission denied?
> >
> > --
> > Michael Parson
> > mparson@bl.org
>
> The error is:
>
> ssh: connect to host Loki port 22: Connection refused
>
Try stoping sshd and start it from the command line in "debug" mode:
[root@byteme root]# /usr/sbin/sshd -d
Then connect to the IP with the ssh client with verbose messages:
[ken@byteme ken]$ ssh -l ken 192.168.0.10 -vv
What does this turn up?
--
Ken Schweigert, Network Administrator
Byte Productions, LLC
http://www.byte-productions.com