<?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: Try re-generating the SSH key in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/sudden-problem-with-ssh-into-asa-5505-when-using-version-2/m-p/3865149#M147152</link>
    <description>&lt;P&gt;Suddenly, SSH failed from an internal Ubuntu server - &lt;FONT color="#FF0000"&gt;see the following error&lt;/FONT&gt;. SSHed to my internal &lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;aserver&lt;/FONT&gt;&lt;/STRONG&gt; (Mint) and ssh worked. Set # debug ssh, and ssh from all internal servers started working....WHAT HAPPENED???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stopped debug and ssh still works???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've had issues with hash keys from Linux but not from Windows.&amp;nbsp; Had to put this in .ssh/config file to get&amp;nbsp; to my switches on 10.10.10.0:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;aserver&lt;/FONT&gt;&lt;/STRONG&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/556741"&gt;@DESK&lt;/a&gt; ~/.ssh $ ls&lt;BR /&gt;config known_hosts known_hosts.old test3 test4&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;aserver&lt;/FONT&gt;&lt;/STRONG&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/556741"&gt;@DESK&lt;/a&gt; ~/.ssh $ cat config&lt;BR /&gt;Host local1&lt;BR /&gt;HostName 10.10.10.3&lt;BR /&gt;KexAlgorithms=+diffie-hellman-group1-sha1&lt;/P&gt;&lt;P&gt;Host local2&lt;BR /&gt;HostName 10.10.10.4&lt;BR /&gt;KexAlgorithms=+diffie-hellman-group1-sha1&lt;/P&gt;&lt;P&gt;Host local3&lt;BR /&gt;HostName 10.10.10.5&lt;BR /&gt;KexAlgorithms=+diffie-hellman-group1-sha1&lt;/P&gt;&lt;P&gt;Host local4&lt;BR /&gt;HostName 10.10.10.6&lt;BR /&gt;KexAlgorithms=+diffie-hellman-group1-sha1&lt;BR /&gt;Host 10.10.10.3&lt;BR /&gt;KexAlgorithms=+diffie-hellman-group1-sha1&lt;BR /&gt;Host 10.10.10.4&lt;BR /&gt;KexAlgorithms=+diffie-hellman-group1-sha1&lt;BR /&gt;Host 10.10.10.5&lt;BR /&gt;KexAlgorithms=+diffie-hellman-group1-sha1&lt;BR /&gt;Host 10.10.10.6&lt;BR /&gt;KexAlgorithms=+diffie-hellman-group1-sha1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;SSH ERROR from ASA 5520 LOG&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;May 30 2019 12:44:31: %ASA-6-315011: SSH session from 192.168.168.220 on interface inside for user "*****" disconnected by SSH server, reason: "Internal error" (0x00)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 May 2019 13:34:37 GMT</pubDate>
    <dc:creator>clyde.a.huffman.ctr@mail.mil</dc:creator>
    <dc:date>2019-05-30T13:34:37Z</dc:date>
    <item>
      <title>Sudden problem with SSH into ASA-5505 when using version 2</title>
      <link>https://community.cisco.com/t5/network-security/sudden-problem-with-ssh-into-asa-5505-when-using-version-2/m-p/3076528#M147133</link>
      <description>&lt;P&gt;A customer of mine has&amp;nbsp;an ASA-5505 running&amp;nbsp;8.2(5)59, and it's been configured for at least a couple years as SSH version 2. I provide this customer with remote support, and SSH has always been restricted to specific&amp;nbsp;IP addresses. About 2 or 3 weeks ago, all of a sudden I couldn't log in with SSH using putty remotely, so I VPN and connect to the internal servers, and the SSH client won't connect either. Given I'm 2.25 hours away, I had telnet opened up internally, so I at least have a way to access it. When I telnet to port 22, the ASA responds with "SSH-2.0-Cisco-1.25". Using putty or any other SSH client, the SSH client responds instantly with something along the lines of "Server unexpectedly closed network connection." I can't even attempt to login. If I change SSH to version 1, it works just fine. Does anyone have any thoughts on this? Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 08:51:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/sudden-problem-with-ssh-into-asa-5505-when-using-version-2/m-p/3076528#M147133</guid>
      <dc:creator>baskervi</dc:creator>
      <dc:date>2019-03-12T08:51:20Z</dc:date>
    </item>
    <item>
      <title>Try re-generating the SSH key</title>
      <link>https://community.cisco.com/t5/network-security/sudden-problem-with-ssh-into-asa-5505-when-using-version-2/m-p/3076529#M147136</link>
      <description>&lt;P&gt;Try re-generating the SSH key. &amp;nbsp;Something like:&lt;/P&gt;
&lt;PRE class="prettyprint"&gt;crypto key generate rsa general-keys modulus 4096&lt;/PRE&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Failing that try rebooting the ASA.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Failing that, make sure you are using an up to date version of PuTTY, and enable stronger keys on the ASA with (your software might be too old for this):&lt;/P&gt;
&lt;PRE class="prettyprint"&gt;sh key-exchange group dh-group14-sha1&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 Jan 2017 02:27:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/sudden-problem-with-ssh-into-asa-5505-when-using-version-2/m-p/3076529#M147136</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2017-01-31T02:27:48Z</dc:date>
    </item>
    <item>
      <title>Philip, thanks very much for</title>
      <link>https://community.cisco.com/t5/network-security/sudden-problem-with-ssh-into-asa-5505-when-using-version-2/m-p/3076530#M147139</link>
      <description>&lt;P&gt;Philip, thanks very much for the reply. The first thing I tried was to regenerate the keys but that didn't help. I rebooted the ASA, which didn't help the problem, and the ssh key-exchange command isn't available on this version of software. I'll update the software today and see if that helps. Take care.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 14:22:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/sudden-problem-with-ssh-into-asa-5505-when-using-version-2/m-p/3076530#M147139</guid>
      <dc:creator>baskervi</dc:creator>
      <dc:date>2017-01-31T14:22:22Z</dc:date>
    </item>
    <item>
      <title>If you issue the command sh</title>
      <link>https://community.cisco.com/t5/network-security/sudden-problem-with-ssh-into-asa-5505-when-using-version-2/m-p/3076531#M147143</link>
      <description>&lt;P&gt;If you issue the command &lt;STRONG&gt;sh ssh&lt;/STRONG&gt; what is the output? does it show something like the following?&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ciscoasa# sh ssh&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Timeout: 15 minutes&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Versions allowed: 1 and 2&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Are you just having issues with SSH or is ASDM also affected?&lt;/P&gt;
&lt;P&gt;Have you checked the log? is there anything out of the ordinary there?&lt;/P&gt;
&lt;P&gt;Do a &lt;STRONG&gt;debug ssh&lt;/STRONG&gt; and then establish another session using ssh and check the output.&lt;/P&gt;
&lt;P&gt;--&lt;/P&gt;
&lt;P&gt;Please remember to select a correct answer and rate helpful posts&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 18:03:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/sudden-problem-with-ssh-into-asa-5505-when-using-version-2/m-p/3076531#M147143</guid>
      <dc:creator>Marius Gunnerud</dc:creator>
      <dc:date>2017-01-31T18:03:09Z</dc:date>
    </item>
    <item>
      <title>SORD-asa# sh sshTimeout: 30</title>
      <link>https://community.cisco.com/t5/network-security/sudden-problem-with-ssh-into-asa-5505-when-using-version-2/m-p/3076532#M147145</link>
      <description>&lt;P&gt;SORD-asa# sh ssh&lt;BR /&gt;Timeout: 30 minutes&lt;BR /&gt;Version allowed: 2&lt;BR /&gt;172.31.1.0 255.255.255.0 inside&lt;BR /&gt;x.x.x.x 255.255.255.255 outside&lt;/P&gt;
&lt;P&gt;I'm not sure if asdm is affected. The software isn't installed at this point.&lt;/P&gt;
&lt;P&gt;Regarding the logs, here is the only entry:&lt;/P&gt;
&lt;P&gt;Jan 31 2017 02:09:39: %ASA-6-315011: SSH session from x.x.x.x on interface outside for user "" disconnected by SSH server, reason: "Internal error" (0x00)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I should have thought of debugging this, but here is the output:&lt;/P&gt;
&lt;P&gt;SSH2 0: DH shared secret computation failed, status 255SSH0: Session disconnected by SSH server - error 0x00 "Internal error"&lt;/P&gt;
&lt;P&gt;There is a recent bug reported for 8.4(0.2), but it's a little different from this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;https://supportforums.cisco.com/discussion/10791491/cannot-access-asdm-and-ssh&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 00:54:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/sudden-problem-with-ssh-into-asa-5505-when-using-version-2/m-p/3076532#M147145</guid>
      <dc:creator>baskervi</dc:creator>
      <dc:date>2017-02-01T00:54:07Z</dc:date>
    </item>
    <item>
      <title>That sounds bad.  I would</title>
      <link>https://community.cisco.com/t5/network-security/sudden-problem-with-ssh-into-asa-5505-when-using-version-2/m-p/3076533#M147148</link>
      <description>&lt;P&gt;That sounds bad. &amp;nbsp;I would definitely upgrade the main ASA software.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 00:57:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/sudden-problem-with-ssh-into-asa-5505-when-using-version-2/m-p/3076533#M147148</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2017-02-01T00:57:01Z</dc:date>
    </item>
    <item>
      <title>I put later firmware on the</title>
      <link>https://community.cisco.com/t5/network-security/sudden-problem-with-ssh-into-asa-5505-when-using-version-2/m-p/3076534#M147150</link>
      <description>&lt;P&gt;I put later firmware on the ASA earlier today, but I was concerned that if there was a hardware problem, I'd be out of luck since the site is over 2 hours away. I just rebooted, and it came up fine with 9.1(7.12). Thanks for everyone's input.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 01:13:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/sudden-problem-with-ssh-into-asa-5505-when-using-version-2/m-p/3076534#M147150</guid>
      <dc:creator>baskervi</dc:creator>
      <dc:date>2017-02-01T01:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Try re-generating the SSH key</title>
      <link>https://community.cisco.com/t5/network-security/sudden-problem-with-ssh-into-asa-5505-when-using-version-2/m-p/3865149#M147152</link>
      <description>&lt;P&gt;Suddenly, SSH failed from an internal Ubuntu server - &lt;FONT color="#FF0000"&gt;see the following error&lt;/FONT&gt;. SSHed to my internal &lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;aserver&lt;/FONT&gt;&lt;/STRONG&gt; (Mint) and ssh worked. Set # debug ssh, and ssh from all internal servers started working....WHAT HAPPENED???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stopped debug and ssh still works???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've had issues with hash keys from Linux but not from Windows.&amp;nbsp; Had to put this in .ssh/config file to get&amp;nbsp; to my switches on 10.10.10.0:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;aserver&lt;/FONT&gt;&lt;/STRONG&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/556741"&gt;@DESK&lt;/a&gt; ~/.ssh $ ls&lt;BR /&gt;config known_hosts known_hosts.old test3 test4&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;aserver&lt;/FONT&gt;&lt;/STRONG&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/556741"&gt;@DESK&lt;/a&gt; ~/.ssh $ cat config&lt;BR /&gt;Host local1&lt;BR /&gt;HostName 10.10.10.3&lt;BR /&gt;KexAlgorithms=+diffie-hellman-group1-sha1&lt;/P&gt;&lt;P&gt;Host local2&lt;BR /&gt;HostName 10.10.10.4&lt;BR /&gt;KexAlgorithms=+diffie-hellman-group1-sha1&lt;/P&gt;&lt;P&gt;Host local3&lt;BR /&gt;HostName 10.10.10.5&lt;BR /&gt;KexAlgorithms=+diffie-hellman-group1-sha1&lt;/P&gt;&lt;P&gt;Host local4&lt;BR /&gt;HostName 10.10.10.6&lt;BR /&gt;KexAlgorithms=+diffie-hellman-group1-sha1&lt;BR /&gt;Host 10.10.10.3&lt;BR /&gt;KexAlgorithms=+diffie-hellman-group1-sha1&lt;BR /&gt;Host 10.10.10.4&lt;BR /&gt;KexAlgorithms=+diffie-hellman-group1-sha1&lt;BR /&gt;Host 10.10.10.5&lt;BR /&gt;KexAlgorithms=+diffie-hellman-group1-sha1&lt;BR /&gt;Host 10.10.10.6&lt;BR /&gt;KexAlgorithms=+diffie-hellman-group1-sha1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;SSH ERROR from ASA 5520 LOG&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;May 30 2019 12:44:31: %ASA-6-315011: SSH session from 192.168.168.220 on interface inside for user "*****" disconnected by SSH server, reason: "Internal error" (0x00)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 13:34:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/sudden-problem-with-ssh-into-asa-5505-when-using-version-2/m-p/3865149#M147152</guid>
      <dc:creator>clyde.a.huffman.ctr@mail.mil</dc:creator>
      <dc:date>2019-05-30T13:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Try re-generating the SSH key</title>
      <link>https://community.cisco.com/t5/network-security/sudden-problem-with-ssh-into-asa-5505-when-using-version-2/m-p/3929188#M147154</link>
      <description>&lt;P&gt;I am also getting the same error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;166&amp;gt;%ASA-6-315011: SSH session from 10.10.10.10 on interface for user "*****" disconnected by SSH server, reason: "Time-out activated" (0x6e)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help !!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 08:32:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/sudden-problem-with-ssh-into-asa-5505-when-using-version-2/m-p/3929188#M147154</guid>
      <dc:creator>UmeshBhambri</dc:creator>
      <dc:date>2019-09-24T08:32:13Z</dc:date>
    </item>
  </channel>
</rss>

