04-03-2021 11:48 AM
I have defined VTY 0 15 timeout, my SSH session is on MGMT (out of band) interface and vty timeout is not working. How do I enable it for MGMT as well?
04-03-2021 12:50 PM - edited 04-03-2021 12:50 PM
Hey,
In general configuration use:
ip ssh time-out XXX
instead of XXX put time in seconds, you can additionally use:
ip ssh authentication-retries 5
to limit tries to 5 or any other number that you like.
04-03-2021 08:49 PM - edited 04-03-2021 08:54 PM
I have the following commands but no ssh session never gets disconnected.
SW01#show running-config | include ssh
ip ssh maxstartups 10
ip ssh time-out 30
ip ssh authentication-retries 5
ip ssh logging events
ip ssh version 2
-----
Also defined following command on MGMT but no effect.
SW01(config-if)#timeout absolute 60
transport input ssh
04-05-2021 02:06 AM
Hello,
not sure if I missed something, but how did you configure the VTY timeout ?
line vty 0 4
exec-timeout 1
will disconnect your VTY session after 1 minute of inactivity (regardless of whether you are connected through SSH or Telnet)...
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: