Configuration of SSH Server Session Limit Lesser than Max-Session
Configure SSH Server Session limit to be lesser than Max-Session.
Topology
Setup consists of one node acting as SSH server.
Figure 32-56: SSH Server topology
Configuration of SSH Server Session Limit Lesser than Max-Session
#configure terminal | Enter configure mode |
(config)#no feature ssh vrf management | Disable feature SSH |
(config)#ssh server session-limit 12 vrf management | Configure SSH server session-limit to be lesser than Max-Session limit |
(config)#commit | Perform Commit to submit changes done |
(config)#feature ssh vrf management | Enable feature SSH |
(config)#commit | Perform commit to submit changes |
(config)#exit | Exit configure mode |
Validation
Check that the maximum SSH session possible are 12 which is lesser than Max-Session limit parameter value in line VTY.
#show running-config ssh server
feature ssh vrf management
ssh server session-limit 12 vrf management
no feature ssh
Last modified date: 10/19/2023