<?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 Hmm, your config looks good. in Routing and SD-WAN</title>
    <link>https://community.cisco.com/t5/routing-and-sd-wan/syslog-ssh-close/m-p/2913613#M268071</link>
    <description>&lt;P&gt;Hmm, your config looks good. I just tested this in my lab and I ams seeing the following log message:&lt;/P&gt;
&lt;PRE class="prettyprint"&gt;Mar 12 16:15:29.245: %SSH-5-SSH2_CLOSE: SSH2 Session from x.x.x.x&amp;nbsp;(tty = 0) for user 'removed' using crypto cipher 'aes256-cbc', hmac 'hmac-sha1' closed&lt;/PRE&gt;
&lt;P&gt;Here is my config&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Perhaps you are hitting a bug?&lt;/P&gt;
&lt;PRE class="prettyprint"&gt;NS-3560c-01# sh run | i logging&lt;BR /&gt;logging buffered informational&lt;BR /&gt;logging console warnings&lt;BR /&gt;ip ssh logging events&lt;BR /&gt;logging source-interface Vlan30&lt;BR /&gt;logging host&amp;nbsp;x.x.x.x&lt;/PRE&gt;
&lt;P&gt;&lt;EM&gt;Thank you for rating helpful posts!&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 12 Mar 2016 16:37:17 GMT</pubDate>
    <dc:creator>nspasov</dc:creator>
    <dc:date>2016-03-12T16:37:17Z</dc:date>
    <item>
      <title>Syslog SSH_Close</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/syslog-ssh-close/m-p/2913612#M268070</link>
      <description>&lt;P&gt;&lt;SPAN id="result_box" class="" lang="en" tabindex="-1"&gt;&lt;SPAN class="hps"&gt;Hi all.&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN class="hps"&gt;It&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;was&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;he&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;setting&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;cisco&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;switch&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;2960S&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;ssh&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;logging&lt;/SPAN&gt;&lt;SPAN&gt;, the configuration&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I have is&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;H6&gt;&lt;EM&gt;logging trap notifications&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;logging x.x.x.x&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;snmp-server community public RO&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;snmp-server enable traps tty&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;snmp-server enable traps cluster&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;snmp-server enable traps config-copy&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;snmp-server enable traps config&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;snmp-server enable traps entity&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;snmp-server enable traps cpu threshold&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;snmp-server enable traps bridge newroot topologychange&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;snmp-server enable traps stpx inconsistency root-inconsistency loop-inconsistency&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;snmp-server enable traps syslog&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;snmp-server enable traps flash insertion removal&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;snmp-server enable traps port-security&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;snmp-server enable traps envmon fan shutdown supply temperature status&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;snmp-server enable traps stackwise&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;snmp-server enable traps vlan-membership&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;snmp-server enable traps mac-notification change move threshold&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;snmp-server host x.x.x.x version 2c public&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;snmp-server host x.x.x.x version 2c public&amp;nbsp; tty config entity cpu syslog stackwise mac-notification snmp&lt;/EM&gt;&lt;/H6&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Additionally&lt;/P&gt;
&lt;H6&gt;&lt;BR /&gt;&lt;EM&gt;login on-failure log every 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;login on-success log every 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ip sla enable reaction-alerts&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;logging history notifications&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;logging trap debugging&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;logging facility local4&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ip ssh logging event&lt;/EM&gt;&lt;/H6&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN id="result_box" class="short_text" lang="en" tabindex="-1"&gt;&lt;SPAN class="hps"&gt;In the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;log&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;shows me&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the following&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;PRE class="prettyprint"&gt;11:49:52 2016/03/11 SNMPv2-SMI::enterprises.9.9.41.2.0.1 Normal "Status Events" x.x.x.x - ZBXTRAP x.x.x.x&lt;BR /&gt;&amp;nbsp;clogHistFacility&amp;nbsp; : SSH&lt;BR /&gt;&amp;nbsp;clogHistSeverity&amp;nbsp; : 6&lt;BR /&gt;&amp;nbsp;clogHistMsgName&amp;nbsp;&amp;nbsp; : SSH2_SESSION&lt;BR /&gt;&amp;nbsp;clogHistMsgText&amp;nbsp;&amp;nbsp; : SSH2 Session request from x.x.x.x (tty = 0) using crypto cipher 'aes256-cbc', hmac 'hmac-sha1' Succeeded&lt;BR /&gt;&amp;nbsp;clogHistTimestamp : 61:14:30:02.43&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;clogHistFacility&amp;nbsp; : SEC_LOGIN&lt;BR /&gt;&amp;nbsp;clogHistSeverity&amp;nbsp; : 6&lt;BR /&gt;&amp;nbsp;clogHistMsgName&amp;nbsp;&amp;nbsp; : LOGIN_SUCCESS&lt;BR /&gt;&amp;nbsp;clogHistMsgText&amp;nbsp;&amp;nbsp; : Login Success [user:xxxx] [Source: x.x.x.x] [localport: 22] at 14:30:12 UTC Sat May 1 1993&lt;BR /&gt;&amp;nbsp;clogHistTimestamp : 61:14:30:12.85&lt;BR /&gt;&lt;BR /&gt;11:50:03 2016/03/11 SNMPv2-SMI::enterprises.9.9.41.2.0.1 Normal "Status Events" x.x.x.x - ZBXTRAP 172.18.0.23&lt;BR /&gt;&amp;nbsp;clogHistFacility&amp;nbsp; : SSH&lt;BR /&gt;&amp;nbsp;clogHistSeverity&amp;nbsp; : 6&lt;BR /&gt;&amp;nbsp;clogHistMsgName&amp;nbsp;&amp;nbsp; : SSH2_USERAUTH&lt;BR /&gt;&amp;nbsp;clogHistMsgText&amp;nbsp;&amp;nbsp; : User 'xxx' authentication for SSH2 Session from x.x.x.x (tty = 0) using crypto cipher 'aes256-cbc', hmac 'hmac-sha1' Succeeded&lt;BR /&gt;&amp;nbsp;clogHistTimestamp : 61:14:30:12.85&lt;/PRE&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN id="result_box" class="" lang="en" tabindex="-1"&gt;&lt;SPAN class="hps"&gt;When I exit&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;terminal&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;ssh&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;ssh&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;does not show the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;SSH2_Close&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;know&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;when&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the user disconnected&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN id="result_box" class="short_text" lang="en" tabindex="-1"&gt;&lt;SPAN class="hps"&gt;I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;need to configure&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;something else?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN id="result_box" class="short_text" lang="en" tabindex="-1"&gt;&lt;SPAN class="hps"&gt;I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;hope you can&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;help me.&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 11:32:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/syslog-ssh-close/m-p/2913612#M268070</guid>
      <dc:creator>lmontalvanr</dc:creator>
      <dc:date>2019-03-05T11:32:54Z</dc:date>
    </item>
    <item>
      <title>Hmm, your config looks good.</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/syslog-ssh-close/m-p/2913613#M268071</link>
      <description>&lt;P&gt;Hmm, your config looks good. I just tested this in my lab and I ams seeing the following log message:&lt;/P&gt;
&lt;PRE class="prettyprint"&gt;Mar 12 16:15:29.245: %SSH-5-SSH2_CLOSE: SSH2 Session from x.x.x.x&amp;nbsp;(tty = 0) for user 'removed' using crypto cipher 'aes256-cbc', hmac 'hmac-sha1' closed&lt;/PRE&gt;
&lt;P&gt;Here is my config&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Perhaps you are hitting a bug?&lt;/P&gt;
&lt;PRE class="prettyprint"&gt;NS-3560c-01# sh run | i logging&lt;BR /&gt;logging buffered informational&lt;BR /&gt;logging console warnings&lt;BR /&gt;ip ssh logging events&lt;BR /&gt;logging source-interface Vlan30&lt;BR /&gt;logging host&amp;nbsp;x.x.x.x&lt;/PRE&gt;
&lt;P&gt;&lt;EM&gt;Thank you for rating helpful posts!&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Mar 2016 16:37:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/syslog-ssh-close/m-p/2913613#M268071</guid>
      <dc:creator>nspasov</dc:creator>
      <dc:date>2016-03-12T16:37:17Z</dc:date>
    </item>
    <item>
      <title>Hi Neno.</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/syslog-ssh-close/m-p/2913614#M268072</link>
      <description>&lt;P&gt;Hi Neno.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;First thank you for your help. I added the command "logging buffered informational" and "configure warnings" and the problem was the same.&lt;/P&gt;
&lt;P&gt;As I have another 2960S, updated the IOS version 12.2 (55) SE7 and began to run correctly.&lt;/P&gt;
&lt;P&gt;Apparently version 12.2 (55) SE5 has a bug with SSH, being you need to upgrade to a higher version.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 14:37:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/syslog-ssh-close/m-p/2913614#M268072</guid>
      <dc:creator>lmontalvanr</dc:creator>
      <dc:date>2016-03-14T14:37:14Z</dc:date>
    </item>
    <item>
      <title>Fantastic! Glad the upgrade</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/syslog-ssh-close/m-p/2913615#M268073</link>
      <description>&lt;P&gt;Fantastic! Glad the upgrade solved the problem! Thank you for taking the time to post back and let us know that the issue was with that version of code (+5 from me).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since your issue is resolved, you should mark the thread as "answered" &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Thank you for rating helpful posts!&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2016 15:39:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/syslog-ssh-close/m-p/2913615#M268073</guid>
      <dc:creator>nspasov</dc:creator>
      <dc:date>2016-03-14T15:39:20Z</dc:date>
    </item>
  </channel>
</rss>

