<?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: How to edit/modify weak ciphers for SSH server in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/How-to-edit-modify-weak-ciphers-for-SSH-server/m-p/269584#M45294</link>
    <description>&lt;P&gt;Note that on versions which don't have the 'set ssh server' options in clish, the /etc/ssh/sshd_config is overwritten by certain changes in clish. This may undo changes you make to it. To work around this, you can make the changes in&amp;nbsp;/etc/ssh/templates/sshd_config.templ, though that may be overwritten when installing a jumbo.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Feb 2026 15:41:03 GMT</pubDate>
    <dc:creator>Bob_Zimmerman</dc:creator>
    <dc:date>2026-02-03T15:41:03Z</dc:date>
    <item>
      <title>How to edit/modify weak ciphers for SSH server</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-edit-modify-weak-ciphers-for-SSH-server/m-p/268650#M45109</link>
      <description>&lt;DIV&gt;Below are the steps to disable weak ciphers on an SSH server. This configuration is frequently flagged during vulnerability scans.&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;R81.10+ version&lt;/P&gt;
&lt;P&gt;Log in to the command line on the Gaia OS.&lt;BR /&gt;Enter Clish mode.&lt;BR /&gt;View the currently enabled KEX algorithms using the command: &lt;BR /&gt;"show ssh server kex enabled"&lt;BR /&gt;Disable the weak algorithm: &lt;BR /&gt;"set ssh server kex diffie-hellman-group1-sha1 off"&lt;BR /&gt;Save the configuration permanently: &lt;BR /&gt;"save config"&lt;/P&gt;
&lt;P&gt;R81 and lower versions&lt;/P&gt;
&lt;P&gt;1. Connect to the command line on Gaia OS.&lt;BR /&gt;2. Log in to the Expert mode.&lt;BR /&gt;3. Back up the current /etc/ssh/sshd_config file:&lt;BR /&gt;cd /etc/ssh&lt;BR /&gt;cp sshd_config sshd_config_BCK1&lt;BR /&gt;&lt;BR /&gt;4. Edit the current /etc/ssh/sshd_config file:&lt;BR /&gt;&lt;BR /&gt;vi /etc/ssh/sshd_config&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;5. Set the required Key Exchange method as the value of the "KexAlgorithms" parameter.&lt;BR /&gt;&lt;BR /&gt;Find:&lt;BR /&gt;KexAlgorithms +diffie-hellman-group1-sha1&lt;BR /&gt;KexAlgorithms +diffie-hellman-group-exchange-sha1&lt;BR /&gt;&lt;BR /&gt;Replace with:&lt;BR /&gt;&lt;BR /&gt;#KexAlgorithms +diffie-hellman-group1-sha1&lt;BR /&gt;#KexAlgorithms +diffie-hellman-group-exchange-sha1&lt;BR /&gt;KexAlgorithms +diffie-hellman-group16-sha512&lt;BR /&gt;KexAlgorithms +diffie-hellman-group14-sha256&lt;BR /&gt;&lt;BR /&gt;6. Save the changes in the file and exit Vi editor.&lt;BR /&gt;&lt;BR /&gt;7. Restart the SSH service:&lt;BR /&gt;&lt;BR /&gt;service sshd restart&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:32:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-edit-modify-weak-ciphers-for-SSH-server/m-p/268650#M45109</guid>
      <dc:creator>Gaurav_Pandya</dc:creator>
      <dc:date>2026-01-26T16:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit/modify weak ciphers for SSH server</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-edit-modify-weak-ciphers-for-SSH-server/m-p/268680#M45111</link>
      <description>&lt;P&gt;Excellent stuff, thanks for that&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/8251"&gt;@Gaurav_Pandya&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 00:15:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-edit-modify-weak-ciphers-for-SSH-server/m-p/268680#M45111</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2026-01-27T00:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit/modify weak ciphers for SSH server</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-edit-modify-weak-ciphers-for-SSH-server/m-p/269370#M45219</link>
      <description>&lt;P&gt;Just tried this in R82 lab, worked great.&lt;/P&gt;</description>
      <pubDate>Sun, 01 Feb 2026 16:52:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-edit-modify-weak-ciphers-for-SSH-server/m-p/269370#M45219</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2026-02-01T16:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit/modify weak ciphers for SSH server</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-to-edit-modify-weak-ciphers-for-SSH-server/m-p/269584#M45294</link>
      <description>&lt;P&gt;Note that on versions which don't have the 'set ssh server' options in clish, the /etc/ssh/sshd_config is overwritten by certain changes in clish. This may undo changes you make to it. To work around this, you can make the changes in&amp;nbsp;/etc/ssh/templates/sshd_config.templ, though that may be overwritten when installing a jumbo.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 15:41:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-to-edit-modify-weak-ciphers-for-SSH-server/m-p/269584#M45294</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2026-02-03T15:41:03Z</dc:date>
    </item>
  </channel>
</rss>

