<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Changing ssh port on CP firewall in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95171#M10532</link>
    <description>&lt;P&gt;Thanks Danny. tried that, no luck. All I did was vi the file, change port 22 to something random, restarted ssh service, but it still connected on port 22.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Aug 2020 15:39:58 GMT</pubDate>
    <dc:creator>the_rock</dc:creator>
    <dc:date>2020-08-25T15:39:58Z</dc:date>
    <item>
      <title>Changing ssh port on CP firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95167#M10530</link>
      <description>&lt;P&gt;I know this may sound like a really dumb question, but is there any way to change ssh port for CP appliances (NOT smb)? I tried looking in clish, web gui, cant find the option anywhere. I even "combed: through whole clish config, nothing for ssh there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 15:17:34 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95167#M10530</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2020-08-25T15:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ssh port on CP firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95170#M10531</link>
      <description>&lt;P&gt;vi /&lt;SPAN&gt;etc/ssh/sshd_config &amp;amp;&amp;amp; /etc/init.d/sshd restart&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 15:29:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95170#M10531</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2020-08-25T15:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ssh port on CP firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95171#M10532</link>
      <description>&lt;P&gt;Thanks Danny. tried that, no luck. All I did was vi the file, change port 22 to something random, restarted ssh service, but it still connected on port 22.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 15:39:58 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95171#M10532</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2020-08-25T15:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ssh port on CP firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95173#M10533</link>
      <description>&lt;P&gt;As there are no means to configure that on clish or web gui you may just edit /etc/ssh/sshd_config&lt;/P&gt;&lt;P&gt;Uncomment the "Port" directive and change the port number to what you want. Activate the change by service sshd restart.&lt;/P&gt;&lt;P&gt;Take care: Update your rulebase to allow the new port before changing to avoid getting locked out!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 15:41:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95173#M10533</guid>
      <dc:creator>asc</dc:creator>
      <dc:date>2020-08-25T15:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ssh port on CP firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95174#M10534</link>
      <description>&lt;P&gt;Original:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;# The strategy used for options in the default sshd_config shipped with&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;# OpenSSH is to specify options with their default value where&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;# possible, but leave them commented.&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;Uncommented options change a&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;# default value.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;#Port 22&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;#Protocol 2,1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Protocol 2&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;#AddressFamily any&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;#ListenAddress 0.0.0.0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;#ListenAddress ::&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Change to:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;# default value.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Port &amp;lt;something random&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;#Port 22&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;#Protocol 2,1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Protocol 2&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;#AddressFamily any&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;#ListenAddress 0.0.0.0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;#ListenAddress ::&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 15:56:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95174#M10534</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2020-08-25T15:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ssh port on CP firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95178#M10535</link>
      <description>&lt;P&gt;K, not really sure what Im missing...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;#Port 777&lt;BR /&gt;#Protocol 2&lt;BR /&gt;#AddressFamily any&lt;BR /&gt;#ListenAddress 0.0.0.0&lt;BR /&gt;#ListenAddress ::&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 16:23:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95178#M10535</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2020-08-25T16:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ssh port on CP firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95179#M10536</link>
      <description>&lt;P&gt;Remove the "#" in front of the line that pertains to the port.&amp;nbsp;&lt;/P&gt;&lt;P&gt;From this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#Port 777&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#Protocol 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#AddressFamily any&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#ListenAddress 0.0.0.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#ListenAddress ::&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;To this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Port 777&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#Protocol 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#AddressFamily any&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#ListenAddress 0.0.0.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#ListenAddress ::&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And then restart services as Danny had said.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 16:54:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95179#M10536</guid>
      <dc:creator>Mike_A</dc:creator>
      <dc:date>2020-08-25T16:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ssh port on CP firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95180#M10537</link>
      <description>&lt;P&gt;That was actually first thing I tried, but did not work. Let me just reboot this fw, since its in the lab anyway, and I will update after &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 16:55:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95180#M10537</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2020-08-25T16:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ssh port on CP firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95181#M10538</link>
      <description>&lt;P&gt;Thanks everyone, reboot worked! take care and thanks for the help!!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 17:05:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95181#M10538</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2020-08-25T17:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ssh port on CP firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95348#M10539</link>
      <description>&lt;P&gt;&lt;SPAN&gt;# set admin-access&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;allowed-ipv4-addresses &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;- Administrator access permissions policy for source IP addresses&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ssh-access-port&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;- SSH Port&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;support-weak-tls-version - For security reasons, it is highly recommended never to change this parameter's value. Support of TLSv1.0 will be added back to the administration portal to allow connectivity with old browsers (usually ones released prior to 2014). Changing the default of this parameter exposes the administration portal to attacks that use vulnerabilities like Heartbleed (CVE-2014-0160).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;web-access-port&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;- Web Port (HTTPS)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;interfaces &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;- Configure which interfaces admin access is allowed from&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 07:39:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95348#M10539</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2020-08-27T07:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ssh port on CP firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95399#M10540</link>
      <description>&lt;P&gt;That is only for Gaia Embedded (smb).&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 14:11:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95399#M10540</guid>
      <dc:creator>John_Fleming</dc:creator>
      <dc:date>2020-08-27T14:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ssh port on CP firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95406#M10541</link>
      <description>&lt;P&gt;Correct John...by the way, I ended up changing sshd_config and after reboot, it all worked fine. Not really sure why I had to reboot, since ssh service restart would be sufficient, but anyway. Its Check Point :)))&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 14:37:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95406#M10541</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2020-08-27T14:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ssh port on CP firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95425#M10542</link>
      <description>&lt;P&gt;This is a R80.40 MDS.&lt;/P&gt;&lt;P&gt;[Expert@MDS1:0]# netstat -anp | grep sshd | grep LIST&lt;BR /&gt;tcp 0 0 0.0.0.0:&lt;STRONG&gt;22&lt;/STRONG&gt; 0.0.0.0:* LISTEN 5310/sshd&lt;BR /&gt;[Expert@MDS1:0]# sed -i 's,^#Port &lt;STRONG&gt;22&lt;/STRONG&gt;$,Port &lt;STRONG&gt;2222&lt;/STRONG&gt;,' /etc/ssh/sshd_config&lt;BR /&gt;[Expert@MDS1:0]# service sshd restart&lt;BR /&gt;Stopping sshd: [ OK ]&lt;BR /&gt;Starting sshd: [ OK ]&lt;BR /&gt;[Expert@MDS1:0]# netstat -anp | grep sshd | grep LIST&lt;BR /&gt;tcp 0 0 0.0.0.0:&lt;STRONG&gt;2222&lt;/STRONG&gt; 0.0.0.0:* LISTEN 25930/sshd&lt;BR /&gt;[Expert@MDS1:0]#&lt;/P&gt;&lt;P&gt;Looks like no reboot required?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 16:05:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/95425#M10542</guid>
      <dc:creator>John_Fleming</dc:creator>
      <dc:date>2020-08-27T16:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ssh port on CP firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/274074#M104388</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;I'm trying it on 80.40, I don't think anything depends on the version, a reboot is not necessary, but even if a reboot occurs, everything is automatically commented out.&amp;nbsp;And I will again be able to connect via port 22 and not via the port I specified earlier before the reboot.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 13:57:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/274074#M104388</guid>
      <dc:creator>ShemHunter</dc:creator>
      <dc:date>2026-03-24T13:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ssh port on CP firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/274077#M104391</link>
      <description>&lt;P&gt;Which fw version are you on, only newer ones use systemctl, older ones need /etc/init.d/sshd stop/start&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 14:42:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/274077#M104391</guid>
      <dc:creator>Steffen_Appel</dc:creator>
      <dc:date>2026-03-24T14:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Changing ssh port on CP firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/274078#M104392</link>
      <description>&lt;P&gt;try to change the file and then issue&lt;/P&gt;
&lt;P&gt;/etc/init.d sshd stop&lt;/P&gt;
&lt;P&gt;/etc/init.d sshd start&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 14:43:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Changing-ssh-port-on-CP-firewall/m-p/274078#M104392</guid>
      <dc:creator>Steffen_Appel</dc:creator>
      <dc:date>2026-03-24T14:43:12Z</dc:date>
    </item>
  </channel>
</rss>

