TL;DR: Static SSH keys and hardcoded passwords create permanent, hard-to-audit server access paths that break modern privileged access governance, according to JumpCloud. The real issue is not just stronger authentication, but eliminating standing access and making every session attributable, time-bound, and centrally revocable.
At a glance
What this is: This is a practitioner analysis of why static SSH keys and hardcoded passwords no longer fit modern server access governance, and why JIT access changes the control model.
Why it matters: It matters because server access is still a privileged identity problem, and teams that cannot revoke, audit, and scope access cleanly will struggle across NHI, autonomous, and human programmes.
👉 Read JumpCloud's analysis of static SSH keys and JIT server access
Context
Static server credentials are a governance problem, not just an authentication problem. When SSH keys persist indefinitely, access becomes difficult to prove, difficult to revoke, and easy to inherit across leavers, shared accounts, and overlooked servers. That makes server access part of the broader identity lifecycle challenge rather than a narrow infrastructure issue.
The article argues for a shift to centralized identity and just-in-time access, which is the right direction for privileged access management. For teams building lifecycle controls, the relevant question is no longer whether access can be granted, but whether it can be scoped, observed, and removed without manual cleanup across the fleet.
Key questions
Q: How should security teams replace static SSH keys in server environments?
A: Security teams should move from reusable credentials to centrally brokered, time-bound access. The goal is to make every privileged session attributable, expiring, and revocable from one control point. That reduces exposure from copied keys, improves offboarding, and gives audit teams a reliable session record for investigation and compliance.
Q: Why do static credentials create more risk than convenience in privileged access?
A: Static credentials create risk because they outlive the reason they were issued, can be copied without visibility, and often bypass modern controls like MFA and session review. In privileged access, that means one forgotten key can function as a permanent backdoor unless the organisation has strong revocation discipline.
Q: How do organisations know whether JIT access is actually working?
A: JIT access is working when privilege is granted only for a defined task, expires automatically, and leaves a clear session trail. If teams still need manual cleanup, cannot prove expiry, or find lingering credentials after access should have ended, then the model is not yet under control.
Q: Who is accountable when server access remains active after offboarding?
A: Accountability sits with the teams that own identity governance, privileged access, and operational offboarding together. If access removal depends on manual server-by-server work, the process is already weak. A central policy and event-driven revocation path are needed so no one has to rely on memory or local cleanup.
Technical breakdown
Why static SSH keys create permanent privileged access
Static SSH keys behave like long-lived bearer credentials. Once copied onto a server or stored by an operator, they can persist far beyond the original business need and often bypass MFA, session-level approval, and meaningful attribution. Because the key itself authenticates the holder, not the intent, it becomes hard to distinguish legitimate use from reuse, sharing, or theft. In practice, that means the credential lifecycle is detached from the human or machine lifecycle that should govern it. The control failure is not only exposure, but the absence of reliable revocation and traceability once the key exists.
Practical implication: replace standing SSH keys with time-bound access paths that can be revoked centrally and audited per session.
How just-in-time access changes server identity governance
Just-in-time access replaces permanent privilege with ephemeral entitlement. The user or operator authenticates to a central control plane, the platform issues temporary credentials for a specific target, and access expires automatically when the task ends. That creates a tighter binding between identity, device, time, and resource. It also moves server access into the same governance model used for other privileged workflows, where approval, scope, and expiration are explicit rather than implied. JIT does not remove risk by itself. It reduces the duration and spread of privilege, which is what makes containment and review materially easier.
Practical implication: define server access policies around task scope and expiry, not around reusable credentials.
Why centralized control matters for audit, offboarding, and compliance
Centralized identity control makes server access reviewable because every session can be tied back to a known identity and policy decision. That matters for forensics, because teams need to know who accessed which server, when, and under what authority. It also matters for offboarding, because manual key removal across many systems is slow and error-prone. When access is brokered through a single control plane, lifecycle events such as leaver changes can propagate immediately instead of depending on server-by-server cleanup. The architecture therefore supports both governance and evidence collection, which static keys cannot do well.
Practical implication: route privileged server access through a single identity control plane so offboarding and audit evidence are automatic.
Threat narrative
Attacker objective: The attacker seeks durable, unmonitored access to servers and the ability to maintain privileged footholds even after normal account changes or offboarding.
- Entry occurs when static SSH keys or hardcoded passwords remain valid long after they were issued, copied, or shared across systems.
- Escalation occurs when those credentials provide persistent privileged access without MFA, session scoping, or reliable revocation.
- Impact occurs when forgotten keys or exposed passwords create durable backdoors into critical infrastructure and make forensic attribution difficult.
Breaches seen in the wild
- IOS app secrets leakage report — iOS apps leaking hardcoded secrets and credentials endangering user privacy.
- MongoBleed breach — MongoBleed exposed secrets across 87K MongoDB servers.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Static SSH keys are a standing privilege problem, not a convenience problem. SSH keys that persist indefinitely create access that outlives the business need, the operator, and often the offboarding process. That breaks the governance assumption that privileged access can be cleanly enumerated and revoked as part of lifecycle management. The implication is that server access must be treated as a governed identity state, not as an unmanaged technical artifact.
Zero standing privilege is the right control model for server access because permanence is the real risk. The article correctly moves the conversation away from permanent credentials and toward time-bound access tied to a central authority. That aligns with OWASP-NHI and Zero Trust thinking, where exposure is reduced by shortening the usable life of privilege. Practitioners should treat the elimination of standing access as the baseline, not the enhancement.
Identity lifecycle controls fail when revocation depends on manual server-by-server cleanup. The article highlights the operational weakness most teams still carry: access removal is delayed, incomplete, or inconsistent across fleets. That is a control gap in offboarding and access governance, and it is exactly how forgotten keys become durable backdoors. The practical conclusion is that access removal must be centralized, event-driven, and verifiable.
Centralized identity makes server access auditable in a way static credentials never can. When access is brokered through a control plane, attribution, session boundaries, and expiration become part of the record. That matters across human, NHI, and privileged administration workflows because it turns access from an opaque possession model into an evidence model. Practitioners should use this to tighten both audit readiness and operational containment.
Static credential trust debt: Static SSH keys accumulate risk because every additional copy, server install, and shared workflow expands the number of places revocation can fail. That is not just a hygiene issue. It is a structural governance debt that compounds until a single forgotten credential becomes an infrastructure-wide exception. Teams should measure how much of their privileged access still depends on durable secrets.
From our research:
- Only 13% of organisations feel extremely prepared for the reality of agentic AI despite the majority racing toward autonomous adoption, according to the 2026 Infrastructure Identity Survey.
- 69% of security leaders agree identity management must fundamentally shift to address agentic AI systems, according to the 2026 Infrastructure Identity Survey.
- For the broader lifecycle and governance view, see Ultimate Guide to NHIs , Lifecycle Processes for Managing NHIs for how provisioning, rotation, and offboarding need to work together.
What this signals
Static SSH keys are a reminder that identity programmes still fail at the point where access becomes durable and unreviewable. Static credential trust debt: the longer an organisation tolerates reusable privileged secrets, the more expensive every future revocation, audit, and offboarding event becomes. That is a lifecycle problem first and a tooling problem second.
With 70% of organisations granting AI systems more access than they would give a human employee performing the exact same job, per the 2026 Infrastructure Identity Survey, the same governance mistake appears across human, NHI, and autonomous programmes: access is still being granted faster than it is being constrained. Server access modernisation should therefore be treated as part of a wider move to identity-bound, expiring privilege.
Teams that still depend on static SSH keys should expect their offboarding and audit processes to keep failing in predictable ways. The practical signal is not whether a key exists somewhere, but whether the organisation can prove revocation, expiration, and attribution without manual intervention.
For practitioners
- Inventory every standing SSH key and hardcoded password Build a server access register that maps each credential to an owner, purpose, target system, and revocation path. Prioritise credentials that have no expiration date or whose owners cannot be identified.
- Move privileged access behind a central control plane Broker server access through one identity layer that can enforce MFA, policy checks, session logging, and immediate revocation across on-premises and cloud servers.
- Replace durable credentials with time-bound access Use JIT provisioning for engineers and administrators so access is auto-expiring, task-scoped, and tied to a specific resource instead of a reusable secret.
- Automate offboarding and key revocation checks Trigger credential cleanup from joiner-mover-leaver events and verify that no forgotten keys remain on production servers after role changes or employee exits.
- Log and review privileged sessions for forensic value Capture who accessed which server, when the session started and ended, and what actions were taken so security and audit teams can reconstruct access history without relying on server-local logs.
Key takeaways
- Static SSH keys create standing privilege that outlives the business need and weakens revocation discipline.
- The core evidence is operational, not theoretical. Manual key cleanup, missing MFA, and weak attribution are built into the static model.
- Centralized JIT access and verifiable session logging are the controls that turn server access into governed identity state.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST Zero Trust (SP 800-207) and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-03 | Static SSH keys and hardcoded passwords map directly to credential lifecycle risk. |
| NIST Zero Trust (SP 800-207) | PR.AC-4 | JIT server access aligns with continuous verification and least privilege for privileged sessions. |
| NIST CSF 2.0 | PR.AC-1 | Central identity control supports access governance, auditability, and offboarding. |
Eliminate standing credentials and enforce expiration, rotation, and revocation for privileged access.
Key terms
- Static Credential: A static credential is a long-lived secret used to authenticate access without changing automatically after use. In server access, that usually means an SSH key, password, token, or certificate that can be copied, shared, or forgotten unless manually revoked.
- Just-in-Time Access: Just-in-time access grants privilege only when a task requires it and removes it automatically when the task ends. In identity governance, it reduces standing exposure by making access temporary, specific, and centrally controlled rather than permanently available.
- Zero Standing Privilege: Zero standing privilege means no user or system keeps permanent elevated access by default. Privilege exists only for the duration of an approved activity, which sharply reduces the chance that forgotten credentials, stale entitlements, or shared access become lasting backdoors.
- Identity Control Plane: An identity control plane is the central layer that authenticates users, brokers access, and records session activity across systems. For privileged access, it creates a single place to enforce policy, revoke access, and collect evidence instead of relying on local server configuration.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are responsible for identity security strategy or NHI governance in your organisation, it is worth exploring.
This post draws on content published by JumpCloud: Updated on December 15, 2025 analysis of static SSH keys and just-in-time server access. Read the original.
Published by the NHIMG editorial team on 2025-09-18.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org