Ssh not available
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 06:54 AM
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.
- Labels:
-
LAN Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 07:05 AM
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.
*** Please Rate All Helpful Responses ***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 07:06 AM
- 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! '
