<?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: paramiko.ssh_exception.SSHException: Incompatible version (2.99 instead of 2.0) in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/paramiko-ssh-exception-sshexception-incompatible-version-2-99/m-p/4065949#M1978</link>
    <description>You could be running into &lt;BR /&gt;&lt;A href="https://bst.cloudapps.cisco.com/bugsearch/bug/CSCsq51052/?reffering_site=dumpcr" target="_blank"&gt;https://bst.cloudapps.cisco.com/bugsearch/bug/CSCsq51052/?reffering_site=dumpcr&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The workaround is to configure ssh version 2 on the router - &lt;BR /&gt;Router#configure terminal&lt;BR /&gt;Enter configuration commands, one per line. End with CNTL/Z.&lt;BR /&gt;Router(config)#ip ssh version 2&lt;BR /&gt;Router(config)#end</description>
    <pubDate>Wed, 15 Apr 2020 00:57:21 GMT</pubDate>
    <dc:creator>Manoj Papisetty</dc:creator>
    <dc:date>2020-04-15T00:57:21Z</dc:date>
    <item>
      <title>paramiko.ssh_exception.SSHException: Incompatible version (2.99 instead of 2.0)</title>
      <link>https://community.cisco.com/t5/controllers/paramiko-ssh-exception-sshexception-incompatible-version-2-99/m-p/4065622#M1976</link>
      <description>&lt;P&gt;I have no issue SSH manually from Linux client to Cisco Router.&lt;/P&gt;&lt;P&gt;However when I try to connect to the same Router using Python netmiko, the following error occurred.&lt;/P&gt;&lt;PRE&gt;&amp;gt;&amp;gt;&amp;gt; from netmiko import ConnectHandler
&amp;gt;&amp;gt;&amp;gt; R1 = {
...     'device_type': 'cisco_ios',
...     'ip': '10.10.10.10',
...     'username': 'u',
...     'password': 'p'
... }
&amp;gt;&amp;gt;&amp;gt; 
&amp;gt;&amp;gt;&amp;gt; net_connect = ConnectHandler(**R1)
Exception: Incompatible version (2.99 instead of 2.0)
Traceback (most recent call last):
  File "/home/user/.local/lib/python3.7/site-packages/paramiko/transport.py", line 2039, in run
    self._check_banner()
  File "/home/user/.local/lib/python3.7/site-packages/paramiko/transport.py", line 2240, in _check_banner
    raise SSHException(msg.format(version))
paramiko.ssh_exception.SSHException: Incompatible version (2.99 instead of 2.0)

Traceback (most recent call last):
  File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;
  File "/home/user/.local/lib/python3.7/site-packages/netmiko/ssh_dispatcher.py", line 259, in ConnectHandler
    return ConnectionClass(*args, **kwargs)
  File "/home/user/.local/lib/python3.7/site-packages/netmiko/base_connection.py", line 327, in __init__
    self._open()
  File "/home/user/.local/lib/python3.7/site-packages/netmiko/base_connection.py", line 332, in _open
    self.establish_connection()
  File "/home/user/.local/lib/python3.7/site-packages/netmiko/base_connection.py", line 901, in establish_connection
    self.remote_conn_pre.connect(**ssh_connect_params)
  File "/home/user/.local/lib/python3.7/site-packages/paramiko/client.py", line 406, in connect
    t.start_client(timeout=timeout)
  File "/home/user/.local/lib/python3.7/site-packages/paramiko/transport.py", line 660, in start_client
    raise e
  File "/home/user/.local/lib/python3.7/site-packages/paramiko/transport.py", line 2039, in run
    self._check_banner()
  File "/home/user/.local/lib/python3.7/site-packages/paramiko/transport.py", line 2240, in _check_banner
    raise SSHException(msg.format(version))
paramiko.ssh_exception.SSHException: Incompatible version (2.99 instead of 2.0)
&amp;gt;&amp;gt;&amp;gt; &lt;/PRE&gt;&lt;P&gt;Reference: &lt;A href="https://pypi.org/project/netmiko/" rel="nofollow noreferrer" target="_blank"&gt;https://pypi.org/project/netmiko/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What's wrong with this and how to fix it?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 16:24:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/paramiko-ssh-exception-sshexception-incompatible-version-2-99/m-p/4065622#M1976</guid>
      <dc:creator>write_erase</dc:creator>
      <dc:date>2020-04-14T16:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: paramiko.ssh_exception.SSHException: Incompatible version (2.99 instead of 2.0)</title>
      <link>https://community.cisco.com/t5/controllers/paramiko-ssh-exception-sshexception-incompatible-version-2-99/m-p/4065881#M1977</link>
      <description>&lt;P&gt;Try this on the router to see if it works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Router(config)#ip ssh version 2&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 22:08:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/paramiko-ssh-exception-sshexception-incompatible-version-2-99/m-p/4065881#M1977</guid>
      <dc:creator>Derek Zhang</dc:creator>
      <dc:date>2020-04-14T22:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: paramiko.ssh_exception.SSHException: Incompatible version (2.99 instead of 2.0)</title>
      <link>https://community.cisco.com/t5/controllers/paramiko-ssh-exception-sshexception-incompatible-version-2-99/m-p/4065949#M1978</link>
      <description>You could be running into &lt;BR /&gt;&lt;A href="https://bst.cloudapps.cisco.com/bugsearch/bug/CSCsq51052/?reffering_site=dumpcr" target="_blank"&gt;https://bst.cloudapps.cisco.com/bugsearch/bug/CSCsq51052/?reffering_site=dumpcr&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The workaround is to configure ssh version 2 on the router - &lt;BR /&gt;Router#configure terminal&lt;BR /&gt;Enter configuration commands, one per line. End with CNTL/Z.&lt;BR /&gt;Router(config)#ip ssh version 2&lt;BR /&gt;Router(config)#end</description>
      <pubDate>Wed, 15 Apr 2020 00:57:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/paramiko-ssh-exception-sshexception-incompatible-version-2-99/m-p/4065949#M1978</guid>
      <dc:creator>Manoj Papisetty</dc:creator>
      <dc:date>2020-04-15T00:57:21Z</dc:date>
    </item>
  </channel>
</rss>

