<?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 S/K-Series f/w 8.x Adjustment of SSH Client Alive settings in FAQs</title>
    <link>https://community.extremenetworks.com/t5/faqs/s-k-series-f-w-8-x-adjustment-of-ssh-client-alive-settings/m-p/52019#M758</link>
    <description>Article ID: 15066 &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Products&lt;/B&gt;&lt;BR /&gt;
S-Series, firmware 8.02.01.0012 and higher&lt;BR /&gt;
K-Series, firmware 8.02.01.0012 and higher&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Symptoms&lt;/B&gt;&lt;BR /&gt;
Unused SSH-based management session is timing out instead of remaining open and available as desired.&lt;BR /&gt;
"&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;Connection reset by peer&lt;/PRE&gt;&lt;/DIV&gt;"&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Solution/Workaround&lt;/B&gt;&lt;BR /&gt;
Introduced as of firmware 7.41.02.0014, "ClientAlive" messaging keeps SSH sessions open in the absence of user data entry. The SSH server (the switch) does this by generating a null packet to the SSH client (the user's application, e.g. &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;PuTTY&lt;/PRE&gt;&lt;/DIV&gt;) every ClientAliveInterval of no activity, expecting a response. If a response is received then the connection has been refreshed throughout its length. In the absence of a response from the client, the server repeats this process up to ClientAliveCount times. After that, if there is still no user activity and no response from the user's SSH client application, the session is assumed to be unrecoverable and the SSH connection is closed by the server. The default is 30 seconds for the ClientAliveInterval, and 5 retries of that interval for the ClientAliveCount. By this means, even the most time-sensitive of intermediate devices (e.g. NAT/ Firewalls) continue to recognize the session as active during periods of no user activity, as long as the user's SSH client application is still responding and the local system logout time (ten minutes by default; &lt;A href="http://bit.ly/1iHtMUi" target="_blank" rel="nofollow noreferrer noopener"&gt;7341&lt;/A&gt;) has not expired.&lt;BR /&gt;
&lt;BR /&gt;
As of firmware 8.02.01.0012, the defaults remain unchanged but are now configurable by means of the new '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set ssh client...&lt;/PRE&gt;&lt;/DIV&gt;' command set.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://extranet.enterasys.com/downloads/" target="_blank" rel="nofollow noreferrer noopener"&gt;Release notes&lt;/A&gt; state, in the '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;SSH Feature Enhancements in 8.02.01.0012&lt;/PRE&gt;&lt;/DIV&gt;' section:&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;SSH CLI now supports configuration of keep alive count and interval. This may be used to reduce likelihood that ssh clients like 'putty' will cause a disconnect when they fail to maintain keep alive protocol. (Due to a bug in putty this protocol is not run while holding the putty scroll bar down or accessing the putty configuration screens.)&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
If the user finds that the default settings are not in all cases adequate to keep inactive but desirable SSH sessions from dropping out over time, some adjustment may be in order, to make the ClientAlive messaging a little more frequent.&lt;BR /&gt;
&lt;BR /&gt;
For example:&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set ssh client alive-interval 2&lt;BR /&gt;set ssh client alive-count 2&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
Even if a long logout time (e.g. '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set logout 25 default&lt;/PRE&gt;&lt;/DIV&gt;'; &lt;A href="http://bit.ly/1iHtMUi" target="_blank" rel="nofollow noreferrer noopener"&gt;7341&lt;/A&gt;) is configured on the switch, the adjusted ClientAlive messaging should keep the session from going stale across a remote network.&lt;BR /&gt;
&lt;BR /&gt;
Note that the '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set logout...&lt;/PRE&gt;&lt;/DIV&gt;' command refers to &lt;I&gt;minutes&lt;/I&gt;, while the '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set ssh client alive-interval...&lt;/PRE&gt;&lt;/DIV&gt;' command refers to (&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;0 - 2147483647&lt;/PRE&gt;&lt;/DIV&gt;) &lt;I&gt;seconds&lt;/I&gt; and the '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set ssh client alive-count...&lt;/PRE&gt;&lt;/DIV&gt;' command refers to (&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;0 - 2147483647&lt;/PRE&gt;&lt;/DIV&gt;) &lt;I&gt;alive-intervals&lt;/I&gt;.&lt;BR /&gt;
Any changes made will not affect SSH sessions already started, but will affect future SSH sessions.&lt;BR /&gt;
&lt;BR /&gt;
Also see this &lt;A href="https://www.youtube.com/watch?v=_xjNces5EII&amp;amp;#38;list=PLvQMiI4QwvHTFYkDRLl_8NUE8Ijp5Zm8n&amp;amp;#38;index=4" target="_blank" rel="nofollow noreferrer noopener"&gt;HowTo Video&lt;/A&gt;.</description>
    <pubDate>Wed, 23 Apr 2014 01:48:00 GMT</pubDate>
    <dc:creator>FAQ_User</dc:creator>
    <dc:date>2014-04-23T01:48:00Z</dc:date>
    <item>
      <title>S/K-Series f/w 8.x Adjustment of SSH Client Alive settings</title>
      <link>https://community.extremenetworks.com/t5/faqs/s-k-series-f-w-8-x-adjustment-of-ssh-client-alive-settings/m-p/52019#M758</link>
      <description>Article ID: 15066 &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Products&lt;/B&gt;&lt;BR /&gt;
S-Series, firmware 8.02.01.0012 and higher&lt;BR /&gt;
K-Series, firmware 8.02.01.0012 and higher&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Symptoms&lt;/B&gt;&lt;BR /&gt;
Unused SSH-based management session is timing out instead of remaining open and available as desired.&lt;BR /&gt;
"&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;Connection reset by peer&lt;/PRE&gt;&lt;/DIV&gt;"&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Solution/Workaround&lt;/B&gt;&lt;BR /&gt;
Introduced as of firmware 7.41.02.0014, "ClientAlive" messaging keeps SSH sessions open in the absence of user data entry. The SSH server (the switch) does this by generating a null packet to the SSH client (the user's application, e.g. &lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;PuTTY&lt;/PRE&gt;&lt;/DIV&gt;) every ClientAliveInterval of no activity, expecting a response. If a response is received then the connection has been refreshed throughout its length. In the absence of a response from the client, the server repeats this process up to ClientAliveCount times. After that, if there is still no user activity and no response from the user's SSH client application, the session is assumed to be unrecoverable and the SSH connection is closed by the server. The default is 30 seconds for the ClientAliveInterval, and 5 retries of that interval for the ClientAliveCount. By this means, even the most time-sensitive of intermediate devices (e.g. NAT/ Firewalls) continue to recognize the session as active during periods of no user activity, as long as the user's SSH client application is still responding and the local system logout time (ten minutes by default; &lt;A href="http://bit.ly/1iHtMUi" target="_blank" rel="nofollow noreferrer noopener"&gt;7341&lt;/A&gt;) has not expired.&lt;BR /&gt;
&lt;BR /&gt;
As of firmware 8.02.01.0012, the defaults remain unchanged but are now configurable by means of the new '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set ssh client...&lt;/PRE&gt;&lt;/DIV&gt;' command set.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://extranet.enterasys.com/downloads/" target="_blank" rel="nofollow noreferrer noopener"&gt;Release notes&lt;/A&gt; state, in the '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;SSH Feature Enhancements in 8.02.01.0012&lt;/PRE&gt;&lt;/DIV&gt;' section:&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;SSH CLI now supports configuration of keep alive count and interval. This may be used to reduce likelihood that ssh clients like 'putty' will cause a disconnect when they fail to maintain keep alive protocol. (Due to a bug in putty this protocol is not run while holding the putty scroll bar down or accessing the putty configuration screens.)&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
If the user finds that the default settings are not in all cases adequate to keep inactive but desirable SSH sessions from dropping out over time, some adjustment may be in order, to make the ClientAlive messaging a little more frequent.&lt;BR /&gt;
&lt;BR /&gt;
For example:&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set ssh client alive-interval 2&lt;BR /&gt;set ssh client alive-count 2&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
Even if a long logout time (e.g. '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set logout 25 default&lt;/PRE&gt;&lt;/DIV&gt;'; &lt;A href="http://bit.ly/1iHtMUi" target="_blank" rel="nofollow noreferrer noopener"&gt;7341&lt;/A&gt;) is configured on the switch, the adjusted ClientAlive messaging should keep the session from going stale across a remote network.&lt;BR /&gt;
&lt;BR /&gt;
Note that the '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set logout...&lt;/PRE&gt;&lt;/DIV&gt;' command refers to &lt;I&gt;minutes&lt;/I&gt;, while the '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set ssh client alive-interval...&lt;/PRE&gt;&lt;/DIV&gt;' command refers to (&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;0 - 2147483647&lt;/PRE&gt;&lt;/DIV&gt;) &lt;I&gt;seconds&lt;/I&gt; and the '&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;set ssh client alive-count...&lt;/PRE&gt;&lt;/DIV&gt;' command refers to (&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;0 - 2147483647&lt;/PRE&gt;&lt;/DIV&gt;) &lt;I&gt;alive-intervals&lt;/I&gt;.&lt;BR /&gt;
Any changes made will not affect SSH sessions already started, but will affect future SSH sessions.&lt;BR /&gt;
&lt;BR /&gt;
Also see this &lt;A href="https://www.youtube.com/watch?v=_xjNces5EII&amp;amp;#38;list=PLvQMiI4QwvHTFYkDRLl_8NUE8Ijp5Zm8n&amp;amp;#38;index=4" target="_blank" rel="nofollow noreferrer noopener"&gt;HowTo Video&lt;/A&gt;.</description>
      <pubDate>Wed, 23 Apr 2014 01:48:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/faqs/s-k-series-f-w-8-x-adjustment-of-ssh-client-alive-settings/m-p/52019#M758</guid>
      <dc:creator>FAQ_User</dc:creator>
      <dc:date>2014-04-23T01:48:00Z</dc:date>
    </item>
  </channel>
</rss>

