5.3.7.4ip ssh maxsessions
This command specifies the maximum number of SSH connection sessions that can be established. A value of 0 indicates that no ssh connection can be established. The range is 0 to 5.
Syntax
ip ssh maxsessions <0-5> no ip ssh maxsessions
no - This command sets the maximum number of SSH connection sessions that can be established to the default value.
Default Setting
SSH1 and SSH2
Command Mode
Global Config
5.3.7.5ip ssh timeout
This command sets the SSH connection session timeout value, in minutes. A session is active as long as the session has been idle for the value set. A value of 0 indicates that a session remains active indefinitely. The time is a decimal value from 0 to 160. Changing the timeout value for active sessions does not become effective until the session is reaccessed. Any keystroke will also activate the new timeout duration.
Syntax
ip ssh timeout <1-160> no ip ssh timeout
160