<?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: ssh: no kex alg in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/ssh-no-kex-alg/m-p/120690#M17131</link>
    <description>&lt;P&gt;I've been running into this more and more, including older routers and switches. Another option, instead of modifying the sshd_config, is to use user specific configurations:&lt;BR /&gt;&lt;BR /&gt;/home/user/.ssh/config&lt;/P&gt;
&lt;P&gt;Host gw01&lt;BR /&gt;&amp;nbsp; &amp;nbsp;HostName 192.168.1.1&lt;BR /&gt;&amp;nbsp; &amp;nbsp;User admin&lt;BR /&gt;&amp;nbsp; &amp;nbsp;KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jun 2021 04:13:07 GMT</pubDate>
    <dc:creator>Ryan_Puckett</dc:creator>
    <dc:date>2021-06-09T04:13:07Z</dc:date>
    <item>
      <title>ssh: no kex alg</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/ssh-no-kex-alg/m-p/105035#M8315</link>
      <description>&lt;P&gt;I'm not able to ssh into my firewall from any modern openssl client.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;justin@netconf:~/checkpoint-backups$ ssh fwadmin@fw
Unable to negotiate with 10.100.253.192 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried to manually add the kex strings to sshd_config but it says bad configuration when I try to restart sshd.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Starting sshd: /etc/ssh/sshd_config: line 12: Bad configuration option: KexAlgorithms
/etc/ssh/sshd_config: terminating, 1 bad configuration options&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The host i'm sshing from supports the DH sha1 ciphers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;justin@netconf:~/checkpoint-backups$ ssh -V
OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f 31 Mar 2020

justin@netconf:~/checkpoint-backups$ ssh -Q kex
diffie-hellman-group1-sha1
diffie-hellman-group14-sha1
diffie-hellman-group14-sha256
diffie-hellman-group16-sha512
diffie-hellman-group18-sha512
diffie-hellman-group-exchange-sha1
diffie-hellman-group-exchange-sha256
ecdh-sha2-nistp256
ecdh-sha2-nistp384
ecdh-sha2-nistp521
curve25519-sha256
curve25519-sha256@libssh.org
sntrup4591761x25519-sha512@tinyssh.org&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;kex string&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 21:48:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/ssh-no-kex-alg/m-p/105035#M8315</guid>
      <dc:creator>dandras</dc:creator>
      <dc:date>2020-12-10T21:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: ssh: no kex alg</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/ssh-no-kex-alg/m-p/105200#M8331</link>
      <description>&lt;P&gt;Note that versions prior to R80.40 use a fairly old version of OpenSSH that may not support the ciphers you attempted to configure.&lt;BR /&gt;You will need to either upgrade to R80.40+ which uses a newer OpenSSH with support for additional ciphers or configure your client to use a supported cipher.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2020 02:51:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/ssh-no-kex-alg/m-p/105200#M8331</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-12-12T02:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: ssh: no kex alg</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/ssh-no-kex-alg/m-p/120690#M17131</link>
      <description>&lt;P&gt;I've been running into this more and more, including older routers and switches. Another option, instead of modifying the sshd_config, is to use user specific configurations:&lt;BR /&gt;&lt;BR /&gt;/home/user/.ssh/config&lt;/P&gt;
&lt;P&gt;Host gw01&lt;BR /&gt;&amp;nbsp; &amp;nbsp;HostName 192.168.1.1&lt;BR /&gt;&amp;nbsp; &amp;nbsp;User admin&lt;BR /&gt;&amp;nbsp; &amp;nbsp;KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 04:13:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/ssh-no-kex-alg/m-p/120690#M17131</guid>
      <dc:creator>Ryan_Puckett</dc:creator>
      <dc:date>2021-06-09T04:13:07Z</dc:date>
    </item>
  </channel>
</rss>

