On 09/22/2009 08:48 PM, Karl Kobata wrote:
Hi Larry,
 
> On Tue, Sep 22, 2009 at 1:01 PM, Karl Kobata <Karl.Kobata at syncira.com> wrote:
> > - Port 6666 – if I set the port to anything other than 22 (default), using
> > ssh –p6666 name at servername, does not work.  Yet if I leave keep the default,
> > then ssh name at servername allows me to login.
 
> You need to change the port in iptables as well.
How do I modify the iptables?
 
thanks

 


_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi Karl,

when iptables is running and sshd is enabled you can change it manually in the cfg file /etc/sysconfig/iptables or with the TUI/GUI Tool like system-config-firewall.
Don't forget to restart iptables!

regards
Gregor Gruener