<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[SSH error "can't agree on KEX algorithms"]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">Has anyone experienced following issue: I have set NetXms to poll Mikrotik router via ssh and each time when attempt is made, router generates error "can't agree on KEX algorithms". When i log in manualy via ssh, then no error. Seems like it started with NetXms version 3.5.90. It used to work on older version and polling script hasent changed.</p>
<p dir="auto">Egert</p>
]]></description><link>https://forum.netxms.org/topic/6711/ssh-error-can-t-agree-on-kex-algorithms</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 18:51:20 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6711.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 05 Oct 2020 06:00:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SSH error "can't agree on KEX algorithms" on Thu, 15 Oct 2020 09:19:28 GMT]]></title><description><![CDATA[<p dir="auto">Got it working:</p>
<p dir="auto">File: nxagentd-ssh-config.conf</p>
<pre><code>HostKeyAlgorithms ssh-dss
KexAlgorithms diffie-hellman-group1-sha1
</code></pre>
]]></description><link>https://forum.netxms.org/post/28707</link><guid isPermaLink="true">https://forum.netxms.org/post/28707</guid><dc:creator><![CDATA[Egert143]]></dc:creator><pubDate>Thu, 15 Oct 2020 09:19:28 GMT</pubDate></item><item><title><![CDATA[Reply to SSH error "can't agree on KEX algorithms" on Fri, 09 Oct 2020 05:25:44 GMT]]></title><description><![CDATA[<p dir="auto">Any other ideas ? <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /> Would be quite bad if Netxms support for Mikrotik ssh is broken.</p>
]]></description><link>https://forum.netxms.org/post/28680</link><guid isPermaLink="true">https://forum.netxms.org/post/28680</guid><dc:creator><![CDATA[Egert143]]></dc:creator><pubDate>Fri, 09 Oct 2020 05:25:44 GMT</pubDate></item><item><title><![CDATA[Reply to SSH error "can't agree on KEX algorithms" on Mon, 05 Oct 2020 11:17:13 GMT]]></title><description><![CDATA[<p dir="auto">Still no go.</p>
<p dir="auto">Did the following:</p>
<p dir="auto"><strong>nxagentd.conf</strong></p>
<pre><code>[SSH]
ConfigFile = D:\NetXMS\etc\nxagentd-ssh-config.conf
</code></pre>
<p dir="auto"><strong>nxagentd-ssh-config.conf</strong></p>
<pre><code>HostKeyAlgorithms +ssh-rsa
</code></pre>
<p dir="auto">restarted agent. In router ssh debug CL line doesent include ssh-rsa</p>
]]></description><link>https://forum.netxms.org/post/28669</link><guid isPermaLink="true">https://forum.netxms.org/post/28669</guid><dc:creator><![CDATA[Egert143]]></dc:creator><pubDate>Mon, 05 Oct 2020 11:17:13 GMT</pubDate></item><item><title><![CDATA[Reply to SSH error "can't agree on KEX algorithms" on Mon, 05 Oct 2020 10:56:17 GMT]]></title><description><![CDATA[<p dir="auto">In agent config you should specify path to SSH config - you cannot just put SSH configuration options to NetXMS agent config. So in nxagentd.conf you should have something like</p>
<pre><code>[SSH]
ConfigFile = /etc/nxagentd-ssh-config
</code></pre>
<p dir="auto">and in file /etc/nxagentd-ssh-config</p>
<pre><code>HostKeyAlgorithms +ssh-rsa
</code></pre>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/28668</link><guid isPermaLink="true">https://forum.netxms.org/post/28668</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 05 Oct 2020 10:56:17 GMT</pubDate></item><item><title><![CDATA[Reply to SSH error "can't agree on KEX algorithms" on Mon, 05 Oct 2020 10:45:44 GMT]]></title><description><![CDATA[<p dir="auto">Seems like its not working when i change agent conf to include</p>
<pre><code>[SSH]
HostKeyAlgorithms +ssh-rsa
</code></pre>
<p dir="auto">and restart agent. "cl" line didnt change in debug.</p>
]]></description><link>https://forum.netxms.org/post/28667</link><guid isPermaLink="true">https://forum.netxms.org/post/28667</guid><dc:creator><![CDATA[Egert143]]></dc:creator><pubDate>Mon, 05 Oct 2020 10:45:44 GMT</pubDate></item><item><title><![CDATA[Reply to SSH error "can't agree on KEX algorithms" on Mon, 05 Oct 2020 09:54:52 GMT]]></title><description><![CDATA[<p dir="auto">Looks like router supports only ssh-dss and ssh-rsa as host key algorithms and they are not offered by client. You may try to add</p>
<p dir="auto">HostKeyAlgorithms +ssh-rsa</p>
<p dir="auto">to your .ssh/config file, or create separate config file for SSH subagent with that line and specify it in nxagentd.conf by adding</p>
<p dir="auto">ConfigFile = path_to_config</p>
<p dir="auto">in section [SSH].</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/28666</link><guid isPermaLink="true">https://forum.netxms.org/post/28666</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 05 Oct 2020 09:54:52 GMT</pubDate></item><item><title><![CDATA[Reply to SSH error "can't agree on KEX algorithms" on Mon, 05 Oct 2020 09:39:52 GMT]]></title><description><![CDATA[<p dir="auto">ssh debug from router: <a href="https://ibb.co/pwxSv02" rel="nofollow ugc">https://ibb.co/pwxSv02</a></p>
]]></description><link>https://forum.netxms.org/post/28665</link><guid isPermaLink="true">https://forum.netxms.org/post/28665</guid><dc:creator><![CDATA[Egert143]]></dc:creator><pubDate>Mon, 05 Oct 2020 09:39:52 GMT</pubDate></item><item><title><![CDATA[Reply to SSH error "can't agree on KEX algorithms" on Mon, 05 Oct 2020 09:36:30 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">in 3.4 we have added reading SSH config by SSH subagent - could it be that you have something configured there? Also, what KEX algorithms this Mikrotik supports? You can run ssh with -v option and check it. This is sample output from my router:</p>
<p dir="auto">debug1: SSH2_MSG_KEXINIT sent<br />
debug1: SSH2_MSG_KEXINIT received<br />
debug1: kex: algorithm: diffie-hellman-group-exchange-sha256</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/28664</link><guid isPermaLink="true">https://forum.netxms.org/post/28664</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 05 Oct 2020 09:36:30 GMT</pubDate></item><item><title><![CDATA[Reply to SSH error "can't agree on KEX algorithms" on Mon, 05 Oct 2020 08:47:08 GMT]]></title><description><![CDATA[<p dir="auto">So when router generates this error the connection does not happen and data is not collected?</p>
]]></description><link>https://forum.netxms.org/post/28663</link><guid isPermaLink="true">https://forum.netxms.org/post/28663</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 05 Oct 2020 08:47:08 GMT</pubDate></item></channel></rss>