Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SL ssh port problem
#1

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.

Reply
#2

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

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)