[c-nsp] cisco ssh session timeout

Jay Hennigan jay at west.net
Thu Jan 26 23:39:10 EST 2006


Sergey Velikanov [Intelsoft] wrote:

> I've discovered that my cat3560 do not reset ssh session after timeout
> 
> line con 0
>   exec-timeout 0 0
> line vty 0 4
>   session-timeout 480
>   exec-timeout 0 0

This means, "Don't time out idle exec sessions."  Change it to something
reasonable.  First number is minutes, second is seconds.  For example:
     exec-timeout 60 0

will time out after one hour idle.

>   length 0
>   transport input ssh
> line vty 5 15
>   session-timeout 480
>   exec-timeout 0 0

Same thing here.

>   length 0
>   transport input ssh

> How can I do that cisco reset idle session after 8 hours?

    exec-timeout 480 0

-- 
Jay Hennigan - CCIE #7880 - Network Administration - jay at west.net
NetLojix Communications, Inc.  -  http://www.netlojix.com/
WestNet:  Connecting you to the planet.  805 884-6323


More information about the cisco-nsp mailing list