The Juniper SRX Services Gateway must limit the number of concurrent sessions to a maximum of 10 or less for remote access using SSH.
An XCCDF Rule
Description
The connection-limit command limits the total number of concurrent SSH sessions. To help thwart brute force authentication attacks, the connection limit should be as restrictive as operationally practical Juniper Networks recommends the best practice of setting 10 (or less) for the connection-limit. This configuration will permit up to 10 users to log in to the device simultaneously, but an attempt to log an 11th user into the device will fail. The attempt will remain in a waiting state until a session is terminated and made available.
- ID
- SV-223180r960735_rule
- Version
- JUSX-DM-000001
- Severity
- Low
- References
- Updated
Remediation Templates
A Manual Procedure
Configure the SSH protocol to limit connection and sessions per connection.
[edit]
set system services ssh connection-limit 10
set system services ssh max-sessions-per-connection 1