cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
120
Views
0
Helpful
2
Replies

Ssh not available

1qazxsw2
Level 1
Level 1

I have a switch that will only allow ssh access when I am pinging it from my computer. If there is no traffic it will disconnect when I put in my credentials for remote login. 

2 Replies 2

liviu.gheorghe
Spotlight
Spotlight

Hello @1qazxsw2 ,

the switch will disconnect your ssh session because there is an exec timeout configured on the tty lines. The default value for the exec timeout is 10 minutes.

You can configure a longer timeout with the following commands:

SW_PROD#configure terminal

SW_PROD(config)#line vty 0

SW_PROD(config-line)#exec-timeout 60

which configures the timeout to 1 hour.

Hope this helps.

Regards, LG
*** Please Rate All Helpful Responses ***

marce1000
VIP
VIP

 

          - Check logs (on the console) , when that happens ,

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '
Review Cisco Networking for a $25 gift card