more on non-working ssh
Dan Day
yellowdog-general@lists.terrasoftsolutions.com
Tue Mar 30 12:22:01 2004
> 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
Like Nathan I can ssh from this machine to others, but not to this
machine. I added:
ListenAddress my_ip_address
to the bottom of /etc/ssh/sshd_config and restarted the sshd service
via
sudo /etc/rc.d/init.d/sshd restart
Afterwards my /var/log/messages says it's now listening on
my_ip_address port 22 but I still can't connect.