max-session

This topic explains the command that sets the maximum number of simultaneous SSH sessions on the switch.

Syntax

max-session <1-4>

Parameter

<1-4>: Set the maximum number of simultaneous SSH sessions, from 1 to 4.

Default

4.

Mode

Line Configuration

Usage

Use this command to set the maximum number of simultaneous SSH sessions on the switch.

Example

This example shows how to set the maximum number of SSH sessions to 3:

CODE
Switch(config)# line ssh
Switch(config-line)# max-session 3