SSH session

Jun 23, 2006 2 Replies

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"

line vty 0 15 exec-timeout MM SS

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

formatting link
J

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required