more on non-working ssh

Longman, Bill yellowdog-general@lists.terrasoftsolutions.com
Tue Mar 30 12:52:00 2004


> 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.

Now it's sounding more and more like a firewall issue.

# iptables --list

should show "policy ACCEPT" for INPUT, FORWARD and OUTPUT. If not, turn it
off with "/etc/init.d/iptables stop".