Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› MaxStartups
Cyber Security

MaxStartups

← Back to Glossary
By NHI Mgmt Group Updated November 25, 2026 Domain: Cyber Security

MaxStartups is an SSH daemon setting that limits how many unauthenticated connections may be accepted at once. It controls the server's pre-authentication connection rate by dropping or rejecting excess sessions, which helps reduce resource exhaustion from connection floods and brute-force attempts.

How MaxStartups Works

MaxStartups is an SSH daemon safeguard that caps how many unauthenticated sessions the server will accept in parallel. It applies before login succeeds, so it is aimed at the expensive part of the connection lifecycle, where repeated probes and floods can consume listener slots, CPU, and memory without ever becoming authenticated sessions.

That makes it a practical traffic-shaping control rather than an access-control policy. In normal use, it helps the SSH service stay responsive under bursty access patterns, but if it is set too low it can also reject legitimate administrative connections during peak activity or during automation-heavy maintenance windows.

Why It Matters for SSH Availability

The security value of MaxStartups is that unauthenticated SSH traffic is cheap for an attacker to generate and relatively expensive for a server to process. A flood of pre-authentication connections can starve the daemon’s ability to service real users, so limiting concurrent unauthenticated sessions is one way to reduce exposure to resource exhaustion and noisy brute-force activity.

It is best understood as a resilience control for the SSH front door. It does not authenticate users, inspect credentials, or decide who should be allowed in, but it does help preserve service availability while the server is exposed to internet-facing scanning and repeated connection attempts.

Where It Sits in the SSH Control Stack

MaxStartups is one part of a broader SSH hardening posture, not a standalone defense. It works alongside source-address filtering, key-based authentication, rate limiting, strong credential hygiene, and monitoring for repeated failed connection patterns. Used together, these controls reduce the chance that connection pressure turns into a service outage.

The setting also interacts with legitimate operational load. Bastion hosts, deployment automation, and fleet management tools can create short-lived bursts of new SSH sessions, so the threshold should reflect the environment’s real connection profile rather than a generic hardening checklist.

What Good Operational Use Looks Like

For administrators, the key question is not whether MaxStartups exists, but whether it matches the server’s role and traffic pattern. A jump host for many operators may need a different threshold from a low-volume internal server, and a value that is too aggressive can create self-inflicted denial of service for legitimate users.

Its value is greatest when it is paired with observation. If the daemon regularly drops valid sessions, the threshold is probably too tight; if the server remains comfortable under repeated unauthenticated pressure, the control is doing useful work by preserving headroom for real access attempts.

Risk and Threat Considerations

MaxStartups reduces exposure to pre-authentication floods, but it can also create a trade-off between resilience and reachability. If the limit is misjudged, an attacker can still consume enough unauthenticated slots to interfere with legitimate SSH access, and a busy administrative burst can cause the same symptom without any malicious intent.

Failure mechanism: Excess unauthenticated connection attempts occupy the server’s pre-login capacity until legitimate sessions are dropped or rejected, which can degrade or block access to SSH at the exact point where users are trying to connect.

Impact: The result can be intermittent or complete loss of SSH availability, delayed incident response, and reduced ability to administer systems during an attack or a surge in real operational demand.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST CSF 2.0, NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0PR.AA-05 — Identity Management, Authentication and Access ControlSSH pre-authentication limits support controlled access to remote administration services.
Recommendation — Apply PR.AA-05 to constrain SSH access paths and reduce exposure to unauthenticated connection floods.
NIST SP 800-53 Rev 5SC-7 — Boundary ProtectionSSH listener throttling helps protect a network boundary service from connection floods.
AC-4 — Information Flow EnforcementConnection admission limits enforce policy on which sessions may proceed into SSH service handling.
Recommendation — Use SC-7 to limit and filter SSH exposure at the host or network boundary. Use AC-4 to enforce policy-driven controls on inbound SSH session admission.
CIS Controls v8CIS-8 — Audit Log ManagementSSH flood conditions are easier to investigate when connection attempts and rejections are logged.
CIS-12 — Network Infrastructure ManagementHardening SSH exposure on servers is part of managing network-facing infrastructure securely.
Recommendation — Centralize SSH logs so rejected and failed connection patterns can be reviewed quickly. Harden internet-facing SSH services and align throttling settings with the host’s exposure.

Practitioner Guidance

What to watch for: Tune MaxStartups against observed SSH connection patterns, not a guessed default. If the environment includes automation, bastions, or bursty administrative use, set the threshold with enough headroom to avoid routine false rejects while still constraining unauthenticated load.

Practitioner takeaway: Treat MaxStartups as a resilience control that needs validation, because the right value is the one that preserves service under pressure without becoming a source of avoidable denial of service.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org