The scp max-sessions command configures the maximum number of SCP clients that can be connected to the SSH server.
The undo scp max-sessions command restores the default value.
By default, a maximum of two SCP clients can be connected to the SSH server.
Usage Scenario
To configure the maximum number of SCP clients that can be connected to the SSH server, run the scp max-sessions command.
If the value specified by the max-session-count parameter is less than the number of current connections, the current connections are not ended but the server no longer accepts any new connections.
This command takes effect for both ipv4 and ipv6 connections.