Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SSH session

0 views
Skip to first unread message

mike...@gmail.com

unread,
Jun 23, 2006, 11:01:56 AM6/23/06
to
Currently, our Cisco router appears to end your SSH session after 10
minutes or so of inactivity. Is there an easy way to change this?

Merv

unread,
Jun 23, 2006, 11:51:43 AM6/23/06
to

> Currently, our Cisco router appears to end your SSH session after 10
> minutes or so of inactivity. Is there an easy way to change this?

This is the standard vty session inactivity timeout kicking in.

"
ip ssh

To configure Secure Shell (SSH) control parameters on your router, use
the ip ssh global configuration command. To restore the default value,
use the no form of this command.

ip ssh {[timeout seconds]} | [authentication-retries integer]}

no ip ssh {[timeout seconds]} | [authentication-retries integer]}
Syntax Description

timeout


(Optional) The time interval that the router waits for the SSH client
to respond.

This setting applies to the SSH negotiation phase. Once the EXEC
session starts, the standard timeouts configured for the vty apply. By
default, there are 5 vtys defined (0-4), therefore 5 terminal sessions
are possible. After the SSH executes a shell, the vty timeout starts.
The vty timeout defaults to 10 minutes"

J

unread,
Jun 23, 2006, 1:51:13 PM6/23/06
to
mike...@gmail.com wrote:
> Currently, our Cisco router appears to end your SSH session after 10
> minutes or so of inactivity. Is there an easy way to change this?

line vty 0 15
exec-timeout MM SS


Where MM is timeout in minutes and SS is seconds (or 0 if blank).

http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124tcr/tcf_r/cf_03ht.htm#wp1035605

J

0 new messages