Linux-Noob Forums

Full Version: SL ssh port problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Here a topic to continue what started out here. It's more appropriate as a separate topic.

 

I changed the default ssh port in SL, and before it works you have to edited the iptables/firewall. I edited the firewall using system-config-firewall-tui

on Hybrid's advice and restarted the service. When connecting:

 

ssh -p 1234 user@ip

 

I still get connection refused. I did check the vi /etc/sysconfig/iptables

 

And it nicely made a new entry under port 22 mentioning my custom ssh port.


LOL thanks Hybrid!! It worked I was switching back and forth between configs. That I forgot to switch this one config file. It works now. Thanks for that great tip about the system-config-firewall-tui

Great tool!!