48 Secure Shell Commands
no ip ssh server
enable
This command disables the IP secure shell server.
sshcon
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.
no sshcon
maxsessions
This command sets the maximum number of allowed SSH connection sessions to
the default value.
sshcon 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. The time is
a decimal value from 1 to 160.
Changing the timeout value for active sessions does not become effective until
the session is re accessed. Also, any keystroke activates the new timeout duration.
no sshcon timeout This command sets the SSH connection session timeout value, in minutes, to the
default.
Format
no ip ssh server enable
Mode Privileged EXEC
Default 5
Format
sshcon maxsessions
0-5
Mode Privileged EXEC
Format
no sshcon maxsessions
Mode Privileged EXEC
Default 5
Format
sshcon timeout
1-160
Mode Privileged EXEC