Linux-Noob Forums
SL ssh port problem - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Distro Noob (https://www.linux-noob.com/forums/forum-10.html)
+--- Forum: CentOS (https://www.linux-noob.com/forums/forum-101.html)
+--- Thread: SL ssh port problem (/thread-287.html)



SL ssh port problem - inittux - 2011-11-01


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.




SL ssh port problem - inittux - 2011-11-01


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