Register for part 2 of our Device Identity Webinar Series!

Extend SSO & device identity to SSH

Short-lived SSH certificates provide stronger security with less operational overhead. Smallstep SSH secures remote access across cloud, on-prem, and hybrid environments for developers, automation, and modern AI and MCP-driven workflows.

Book a demo
background gradientbackground texture
Static keys iconNo more static keys
Easy onboarding & offboardingEasy onboarding & offboarding
API iconAPI for ephemeral container spin-ups
Rotation iconDaily renewals & automated rotation
Integrations iconSCIM integrations
Arrow up iconNo SSH bastion overhead

Bridge the gap between your IdPs and your servers

Automate SSH key management

Replace long-lived SSH keys with ephemeral certificates that regenerate each day. Static SSH keys often linger in servers and laptops for months or years, creating a ticking time bomb for unauthorized access. They’re easy to lose track of, hard to rotate, and seldom rekeyed.

Secure GitHub access and commit signing

Developers authenticate to GitHub with the same SSH keys that sit unrotated on their laptops for years. Smallstep replaces them with short-lived certificates issued to keys generated in the device's own secure hardware, so push access follows the device and the person rather than a file. The same hardware key can also sign commits, a separate control that gives you cryptographic proof of authorship. Requires GitHub Enterprise.

See how it works
2FA login flow - TPM chip, biometric verification, successful authentication

Add MFA with your IdP

Connect to popular IdPs like Okta, Google Workspace, or Microsoft Entra ID with just a few clicks, and map existing identity provider groups directly to server roles. Assign granular access based on familiar group structures and user roles, no separate password or SSH key needed. Add or remove a user in your IdP, and that change propagates to all SSH access immediately.

Short-Lived Certificates for Strong Security

Short-lived certificates for strong security

(Try saying that 10x fast.) Smallstep SSH replaces static keys with ephemeral certificates that renew daily to lower risk exposure. Think of it like a backstage pass that automatically expires every day. Each certificate is valid for hours, not months, preventing unintentional long-term access. Certificates also automatically rotate without manual intervention or downtime.

Break-glass emergency and offline access

Worried about losing SSH access if your SSO provider is offline? Smallstep SSH supports hardware-backed offline certificates. In an emergency, create a short-lived backup certificate stored on a secure device. This ensures you always have a fallback plan for critical infrastructure—even during an identity provider outage.

Centralize your SSH auditing

Get a single source of truth for SSH connections across your fleet. Track all SSH activities and sessions from a single dashboard for compliance and troubleshooting. From one dashboard, use simple rules to let developers connect only to which servers they need, exactly when they need it. View active sessions, manage user groups, and generate usage reports to keep stakeholders informed.

Lower operational overhead

No one likes toil. Reduce the time spent adding, removing, and rotating static keys. By removing manual key handling, you can reclaim engineering hours and limit downtime. New employees can be up and running in minutes, without specialized key setup required.

SSH for Device Identity

Get the data sheet

Smallstep SSH Device Identity ensures that only trusted, company-owned devices can access your critical infrastructure. This solution seamlessly integrates with SSH clients to manage hardware-bound SSH certificates, each containing a unique, hardware-attested identifier for the device.

Download
background gradient

Enforce device identity everywhere

Whether you’re working towards a compliance standard, closing gaps in policy enforcement, or preventing nation-state attacks, our team is here to show you how Smallstep can help.

Book a demo

FAQs SSH

Traditional SSH relies on static, long-lived private keys stored on disk, which makes them easy to copy, rarely rotated, manually distributed, and prone to uncontrolled sprawl. Worse, they provide no cryptographic binding between the user and the device actually initiating access.

Smallstep replaces static SSH keys with short-lived SSH certificates issued only after SSO and device identity verification, and bound to non-exportable TPM or Secure Enclave keys. Certificates expire automatically and are renewed only when trust is re-established, eliminating persistent SSH credentials from the environment entirely.

Smallstep integrates directly with your IdP—such as Okta, Entra, or Google—to make SSH access identity-native instead of key-based. The user initiates access with step ssh login, authenticates through browser-based SSO, and Smallstep issues a short-lived SSH certificate.

That certificate encodes the user’s identity, group membership, allowed Unix usernames, permitted hosts, and a strict validity period, and is used automatically by the SSH client via ssh-agent. SSH identity stays continuously aligned with the IdP, with no local passwords and no static keys to manage.

Smallstep can optionally require both user and device authentication for SSH access instead of trusting user identity alone. The private key is generated and stored in a TPM on Windows or Linux systems or in the Secure Enclave on macOS, making it non-exportable by design.

During certificate issuance, the device must prove its hardware identity, and SSH certificates are issued only to attested machines. This blocks compromised hosts from impersonating trusted ones, prevents user credentials from being reused on unmanaged laptops, and defeats attacks involving cloned disks or virtual machines. SSH access becomes explicitly bound to both the user and the device.

No. Smallstep works entirely with standard, unmodified OpenSSH—there’s no proprietary SSH stack or custom agent in the path. On the server side, you add a trusted user CA key, enable SSH certificate authentication, and optionally use NSS or PAM modules for ephemeral users.

On the client side, users only need the step CLI and the standard ssh-agent. There are no custom daemons, proxies, or plugins to deploy. Your existing SSH ecosystem stays intact; Smallstep replaces only the brittle, static key management model.

Smallstep removes the manual work that has traditionally made SSH brittle and error-prone. There are no public keys to collect, no private keys stored in user home directories, no authorized_keys files to manage, and no manual onboarding or offboarding processes.

It also eliminates long-lived root or admin keys and the need to vault SSH keys altogether. Access is granted through short-lived certificates that expire in hours, ensuring permissions disappear automatically without cleanup tasks or human intervention.

Privileged access is granted only when it’s needed and only for a strictly limited time. An administrator authenticates through SSO and device attestation, and Smallstep issues a just-in-time SSH certificate.

That certificate encodes precise constraints—permitted Unix usernames, specific hosts, optional command restrictions, and an explicit expiration timestamp. Policy determines who can obtain which level of access, and when the certificate expires, privileged access disappears automatically.

Yes. SSH certificates can carry rich authorization context directly inside the credential itself. They can encode allowed hosts, user principals, group-based privileges, sudo constraints, time-of-day restrictions, maximum session duration, and optionally device identity.

Authorization is enforced cryptographically at connection time instead of being scattered across host-level configuration files, making access both more precise and easier to reason about.

Smallstep synchronizes identities directly from your IdP using SCIM or API integrations, turning SSH access into a just-in-time operation rather than a pre-provisioned one. Ephemeral Unix users are created automatically at login, IdP groups are mapped to server roles, and host-level accounts are removed once certificates expire.

Servers no longer need permanent user accounts defined in advance. Access exists only for the lifetime of the certificate and disappears automatically when that trust window closes.

Smallstep removes the attack primitives that make SSH abuse possible in the first place. There are no reusable SSH keys, no persistent private keys to steal, and no agent-forwarded long-lived credentials.

Access is granted through short-lived certificates bound to both the user and the device, with host principals restricting exactly which systems a certificate can reach. Short lifetimes sharply limit dwell time, and lateral movement becomes extremely difficult even if a single device is compromised.

Every SSH action under Smallstep produces a complete, cryptographically verifiable audit trail. Each session records who authenticated via the IdP, which device identity was used, which SSH certificate was issued, which host was accessed, and when the session started and ended, with optional command-level logging.

Auditing becomes deterministic and tamper-resistant because there are no shared credentials and no ambiguity about identity. Every action is tied to a specific user, device, and certificate.

Smallstep SSH is not a standalone system—it operates as part of a unified identity fabric. It ties into hardware-attested device identity, user identity validated through SSO, workload identity enforced with mTLS, network identity via EAP-TLS and VPN mTLS, and application identity through ZTNA and mTLS.

SSH becomes just another authenticated service governed by the same Zero Trust principles, policies, and cryptographic controls as the rest of the environment, rather than a special case with its own trust model.

Yes. Smallstep SSH operates consistently across heterogeneous environments, including Linux servers in AWS, GCP, Azure, and OCI, on-prem virtual machines and bare metal, Kubernetes nodes, edge and IoT Linux devices, and ephemeral CI runners.

SSH certificates can carry workload metadata such as cloud instance IDs, enabling environment-aware policies that adapt access controls to where and how a system is running.

Security is preserved because trust is anchored in hardware and continuously re-evaluated. Private keys cannot be exported from the TPM or Secure Enclave, SSH certificates expire quickly, and revocation prevents new certificates from being issued.

If hardware is tampered with, device attestation fails. If a user is suspended, SSO access stops immediately. Even stolen hardware cannot be used to access infrastructure because both the user and the device must remain valid at the time of access.

Yes—in most Zero Trust deployments, bastion hosts are no longer a hard requirement. When access is based on attested identities and just-in-time certificates, identity replaces network chokepoints.

Organizations can allow direct SSH access to internal hosts, eliminate credential storage on bastions, and remove single points of compromise. ZTNA or MASQUE tunnels can still be used when network routing or isolation is required, but bastions become optional tools rather than critical identity gatekeepers.