[CentOS] sshd options - centos 5.3

Gregor Gruener gregor-gruener at t-online.de
Tue Sep 22 19:11:19 UTC 2009


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  <http://lists.centos.org/mailman/listinfo/centos>>  wrote:
> >  >/  - Port 6666 -- if I set the port to anything other than 22 (default), using/
> >  >/  ssh --p6666name at servername  <http://lists.centos.org/mailman/listinfo/centos>, does not work.  Yet if I leave keep the default,/
> >  >/  then sshname at servername  <http://lists.centos.org/mailman/listinfo/centos>  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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20090922/cb10670e/attachment.html>


More information about the CentOS mailing list