<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 09/22/2009 08:48 PM, Karl Kobata wrote:
<blockquote cite="mid:20090922184812.01AEC6F70C@mail.centos.org"
 type="cite">
  <meta http-equiv="Content-Type"
 content="text/html; charset=ISO-8859-1">
  <meta name="Generator" content="Microsoft Word 11 (filtered medium)">
  <style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
  </style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  <div class="Section1">
  <pre><font face="Courier New" size="2"><span style="font-size: 10pt;">Hi Larry,<o:p></o:p></span></font></pre>
  <pre><font face="Courier New" size="2"><span style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
  <pre><font face="Courier New" size="2"><span style="font-size: 10pt;">> On Tue, Sep 22, 2009 at 1:01 PM, Karl Kobata <<a
 moz-do-not-send="true"
 href="http://lists.centos.org/mailman/listinfo/centos">Karl.Kobata at syncira.com</a>> wrote:<o:p></o:p></span></font></pre>
  <pre><font face="Courier New" size="2"><span style="font-size: 10pt;">> ><i><span
 style="font-style: italic;"> - Port 6666 – if I set the port to anything other than 22 (default), using<o:p></o:p></span></i></span></font></pre>
  <pre><font face="Courier New" size="2"><span style="font-size: 10pt;">> ><i><span
 style="font-style: italic;"> ssh –p6666 <a moz-do-not-send="true"
 href="http://lists.centos.org/mailman/listinfo/centos">name at servername</a>, does not work.  Yet if I leave keep the default,<o:p></o:p></span></i></span></font></pre>
  <pre><font face="Courier New" size="2"><span style="font-size: 10pt;">> ><i><span
 style="font-style: italic;"> then ssh <a moz-do-not-send="true"
 href="http://lists.centos.org/mailman/listinfo/centos">name at servername</a> allows me to login.<o:p></o:p></span></i></span></font></pre>
  <pre><font face="Courier New" size="2"><span style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
  <pre><font face="Courier New" size="2"><span style="font-size: 10pt;">> You need to change the port in iptables as well.<o:p></o:p></span></font></pre>
  <pre><font face="Courier New" size="2"><span style="font-size: 10pt;">How do I modify the iptables?<o:p></o:p></span></font></pre>
  <pre><font face="Courier New" size="2"><span style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
  <pre><font face="Courier New" size="2"><span style="font-size: 10pt;">thanks<o:p></o:p></span></font></pre>
  <p class="MsoNormal"><font face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
CentOS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CentOS@centos.org">CentOS@centos.org</a>
<a class="moz-txt-link-freetext" href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a>
  </pre>
</blockquote>
Hi Karl,<br>
<br>
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.<br>
Don't forget to restart iptables!<br>
<br>
regards<br>
Gregor Gruener<br>
</body>
</html>