Hub/Switch Configuration Guide
192 Security Commands
ip ssh maxsessions
Secure Shell (SSH) Commands
The commands in this section are:
• ip ssh maxsessions on page 192
• ip ssh protocol on page 193
• ip ssh server enable on page 193
• ip ssh timeout on page 194
• show ip ssh on page 194
• sshcon maxsessions on page 195
• sshcon timeout on page 195
This section provides a detailed explanation of the SSH commands. The commands are of 
two functional types: 
• Configuration commands are used to configure features and options of the switch. For 
every configuration command there is a show command that will display the 
configuration setting.
• Show commands are used to display switch settings, statistics and other information.
ip 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 from 0 to 5.
Syntax
ip ssh maxsessions 0-5
The command no ip ssh maxsessions sets the maximum number of SSH connection 
sessions that can be established to the default value.
Default
5 
Mode
Global Config 
Command
History
Version 2.3
Changed from 
sshcon maxsessions and moved from Privileged Exec mode to 
Global Config mode.










