S-Series, firmware 8.02.01.0012 and higher
K-Series, firmware 8.02.01.0012 and higher
Unused SSH-based management session is timing out instead of remaining open and available as desired.
Connection reset by peer
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.
As of firmware 8.02.01.0012, the defaults remain unchanged but are now configurable by means of the new '
set ssh client...
Release notes state, in the '
SSH Feature Enhancements in 8.02.01.0012
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.)
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.
set ssh client alive-interval 2
set ssh client alive-count 2
Even if a long logout time (e.g. '
set logout 25 default
Note that the '
set ssh client alive-interval...
0 - 2147483647
set ssh client alive-count...
0 - 2147483647
Any changes made will not affect SSH sessions already started, but will affect future SSH sessions.
Also see this HowTo Video.