Open-source alternative to Tailscale SSH: which tool covers recorded access
Headscale can carry Tailscale SSH on a self-hosted control plane, but recording and audit need Teleport or JumpServer. If a PAM extension renewal or a price change has you looking for a self-hosted route to recorded SSH, Kubernetes and database sessions, separate the two jobs first. Headscale reproduces the network and the Tailscale SSH feature set, but it does not give you a session archive you can search, replay and hand to an auditor. The choice between Teleport and JumpServer depends on what you actually need: session recording with playback, short-lived certificates issued per user, approval workflows before a session starts, or a bastion host that sits on the private network and proxies every connection. Map each requirement to a named control in your own environment before you shortlist tools.
Teleport issues short-lived certificates through its own certificate authority and records sessions for SSH, Kubernetes and supported databases. Its Community Edition is licensed for organizations with fewer than 100 employees and less than $10,000,000 in annual revenue, so confirm your headcount and revenue against the Teleport Community Edition license before you deploy it. Its feature matrix places moderated sessions, dual authorization and just-in-time access requests in Enterprise. JumpServer's Community edition is free for self-hosted use up to 5,000 assets in a standalone topology under GPL-3.0, and it covers SSH, Kubernetes and databases as a bastion. Its recording, approval workflows and SSO features sit in paid tiers, so check which of them your audit requires against the JumpServer pricing page before you rely on the free edition.
Which open-source option covers each Tailscale SSH and PAM capability
This table maps the SSH, session recording, certificate, Kubernetes, database, SSO, approval and bastion capabilities that teams usually rely on from Tailscale SSH and its PAM extension against Headscale, Teleport and JumpServer. Read each row for the platform that covers it and the gap you would need to close, and note that Teleport Community limits and Enterprise-only features are marked in the cells.
| Capability | Headscale | Teleport | JumpServer |
|---|---|---|---|
| SSH access over the tailnet | Supports Tailscale SSH, so existing SSH access rules on the tailnet can carry over | Protects SSH nodes and is fully compatible with OpenSSH servers and clients | SSH access through KoKo proxy with a web terminal (Luna) for browser sessions |
| Session recording with playback | Not provided as a recording feature; confirm with your audit requirements | Included in Community and Enterprise editions with playback | Session recording with a transcoding worker listed as Enterprise component |
| Short-lived certificates | Not a certificate authority for SSH sessions; access relies on the tailnet node keys | Certificate authority issues short-lived certificates in place of shared SSH keys | Confirm how credentials are issued and rotated in your edition before relying on it |
| Kubernetes access | Not covered; Kubernetes access must be handled by another tool | Protects Kubernetes clusters through the same access proxy | Kubernetes access listed among protocols on the platform; confirm the depth you need |
| Database access | Not covered by the control server | Protects PostgreSQL, MongoDB, CockroachDB and MySQL databases | Database access via Chen web connector; Oracle and SQL Server access listed as Enterprise |
| SSO for administrators | Basic OIDC login; OIDC groups cannot be used in ACLs | Community limits SSO to GitHub; Google Workspace, Entra ID, Okta, OIDC and SAML are Enterprise-only | SSO is an Enterprise feature according to the pricing comparison |
| Approval workflows | Not provided | Community role requests are CLI-only; just-in-time access requests and reviews are Enterprise-only | Ticket and just-in-time approval workflows are Enterprise features |
| Moderated sessions and dual authorization | Not provided | Enterprise-only | Confirm with the vendor whether equivalent controls exist in your edition |
| Bastion hosting on the private network | Subnet routers and exit nodes provide network access but not a recorded bastion | Tunneling system reaches resources behind the firewall through the proxy | Designed as a bastion host with a single workspace for SSH, RDP and databases |
When Headscale, Teleport or JumpServer fits best
Tailscale SSH, the PAM extension and recorded sessions cover different jobs, so the right open-source replacement depends on which one you actually need. Headscale keeps the Tailscale network model, Teleport adds certificate-based recorded access to servers, clusters and databases, and JumpServer gives you a bastion on the private network. Each card names the trade-off to check before you commit.
Headscale for Tailscale SSH
Choose Headscale when your main need is to keep the Tailscale clients, MagicDNS, ACLs and Tailscale SSH on a control plane you run yourself. It is scoped to a single tailnet, so it suits one team or a small open-source organization rather than several business units with separate trust domains. Check that OIDC groups are not needed in your ACLs, because Headscale cannot use them, and do not plan to place it behind a reverse proxy or in a container, since the project does not support or encourage either.
- Latest release
- v0.29.5
Teleport for recorded access
Choose Teleport when auditors need recorded, certificate-based sessions to SSH hosts, Kubernetes clusters and PostgreSQL, MySQL or MongoDB databases. Community Edition includes session recording with playback, but its licence only covers organizations with fewer than 100 employees and less than $10,000,000 in annual revenue. Above those limits, confirm the Enterprise terms, because SSO beyond GitHub, access requests and moderated sessions sit in that tier.
Teleport feature matrixJumpServer as a private bastion
Choose JumpServer when you need one web-based bastion for SSH, RDP, Kubernetes and databases on the private network, with a GPL-3.0 licence and no per-user licence needed for the Community tier. The free Community edition covers up to 5,000 assets in a standalone topology. Ticket and just-in-time approval workflows, SSO, RADIUS, LDAP high availability and password rotation are Enterprise features, so list them as requirements before you compare costs.
JumpServer pricingKeeping Tailscale and recording apart
Using Headscale for connectivity and Teleport or JumpServer for recorded access is a common split, but it means two control planes, two sets of policies and two audit trails. Map each user journey to one tool before cutover, and confirm which system is the source of truth for who can reach which host. Write this down, because auditors will ask which log proves a given session.
Licence and edition checks
Every candidate has a different licence boundary: Headscale is BSD-3-Clause, Teleport Community Edition uses a modified Apache 2.0 licence with size limits, and JumpServer is GPL-3.0 with paid Enterprise components. Have legal confirm these terms against your headcount, revenue and distribution model before you deploy. Ask each vendor in writing which features your team needs are in which edition.
Running recorded access beside the rest of the Tailscale stack
In this shape the tailnet keeps doing what it does well: it gives each device a stable address, enforces ACLs between nodes and carries traffic over WireGuard. Headscale handles that coordination, and its feature list includes Tailscale SSH. Teleport then sits on top as the access layer that decides who may open a session, for how long, and with what recording. Reachability and session authorization stay separate decisions, so a user who can reach a host over the tailnet still needs a Teleport role to start a recorded session on it.
- Placement of Teleport: Run the Teleport auth and proxy services on a host with stable reachability inside the tailnet, not behind a reverse proxy, because Headscale's README says it does not support or encourage running Headscale behind reverse proxies or in containers.
- Certificate-based sessions: Teleport issues short-lived certificates, so no shared SSH keys remain on target hosts.
- Audit location: Session recordings and the audit event log are written by Teleport on its own storage, separate from the Headscale control server.
- Overlap to remove: Disable Tailscale SSH on hosts that Teleport protects, so there is one authorization path to review.
- Licensing check: Community Edition builds are limited to organizations under the stated employee and revenue thresholds. Confirm your eligibility or plan for Enterprise before rollout.
Before cutover, confirm which Teleport edition and SSO connector you will use, since Community Edition limits single sign-on to GitHub.
Here JumpServer runs as a bastion inside a private subnet, and the tailnet reaches it through a subnet router. Operators connect to the tailnet, then open JumpServer in the browser or through its SSH and Kubernetes connectors. JumpServer holds the asset inventory, the permissions and the session recordings for the systems behind it, so the tailnet provides the path while JumpServer decides which account a user may use on which asset. This suits teams whose main need is a managed bastion with a web workspace rather than tight integration with the tailnet's own SSH.
- Subnet route placement: Advertise the JumpServer subnet from a Headscale subnet router so only the bastion's network is routed, not the whole server range.
- Core components: The open-source core includes KoKo for protocol proxying and Luna for the web terminal, which are the parts that record sessions.
- Community limits: The Community edition is free up to 5,000 assets in a standalone topology. Enterprise adds high availability tiers, SSO and ticket or just-in-time approval workflows.
- Host requirements: The quickstart asks for a clean 64-bit Linux server with at least 4 CPU cores and 8 GB of RAM.
- Audit location: Recordings and logs sit on the JumpServer host, so plan its storage and backups accordingly.
Confirm which recording components your Community setup includes, because some protocol proxies are listed as Enterprise only.
A full replacement moves the reachability layer and the recorder together, so there is one control plane to operate. Teams in this shape typically pair Headscale or NetBird for network access with Teleport or JumpServer for session control, then retire the Tailscale SSH and PAM extension configuration. Because the tailnet is no longer the source of truth for SSH, every host needs to be re-enrolled, and every session path needs to be tested again before the old setup is removed. This is the shape with the largest amount of rebuilt configuration, and it is also the one where the audit trail is easiest to explain to reviewers.
- Run both paths in parallel: Keep Tailscale SSH active on a small set of hosts until the new recorder has passed review for each protocol.
- Rebuild policy: Map existing Tailscale SSH rules into Teleport roles or JumpServer permissions by hand, since no direct export is covered here.
- Protocol coverage: Verify that the chosen recorder covers SSH, Kubernetes and database sessions you actually use, because Teleport lists PostgreSQL, MongoDB, MySQL and others while JumpServer's protocol coverage differs by edition.
- Evidence: Export recording and audit log samples for each protocol early, so the compliance team sees them before the cutover.
- Retirement: Remove Tailscale SSH and the PAM extension only after you confirm recordings are being written and retained.
Ask your recorder vendor or open-source project to confirm, in writing for your version, which session types are recorded in your chosen edition.
The right shape depends on what you need to prove and what you can operate. If the tailnet is already the access model for most engineers and only session recording is missing, layering Teleport over Headscale changes the least. If the main gap is a bastion with a web workspace and asset inventory, JumpServer in a routed subnet fits better. If you are leaving the tailnet anyway, a full replacement avoids running two coordination layers, at the cost of more migration work. In every shape, the recorder is the place where authorization and audit evidence live, so choose it first and fit the network around it.
- Control plane ownership: Headscale is community-maintained and scoped to one tailnet, so decide who will patch and monitor it.
- Reverse proxy and container limits: Neither Headscale nor a recorder fronted by a proxy should be placed where the Headscale README rules it out.
- Operational cost: Recurring costs include the hosts, storage for recordings, upgrades and on-call time. One-time costs include rule translation and testing.
- Quote inputs: Ask for the scope in writing: number of hosts, protocols, retention period and high availability requirements.
- Edition gaps: Compare the Community and Enterprise feature lists against your approval and SSO requirements before choosing.
Confirm with your auditors which evidence they need, such as recording playback, audit log exports and approval records, before you pick the shape.
How session recording supports SSH audit evidence
Session recording on its own does not satisfy the remote access expectations in NIST SP 800-171 requirements 3.1.12 to 3.1.14. Those requirements ask an organization to monitor and control remote sessions, protect their confidentiality with cryptography, and route them through managed access control points. A recorded SSH, Kubernetes or database session is strongest evidence when it sits behind a single access point that issues per-user identities, short-lived certificates and an audit trail. Teleport's certificate authority issues short-lived certificates and replaces shared SSH keys, so each recorded session can be tied to one named person, one role and one expiry window. Because Teleport states it is compatible with OpenSSH clients and servers, teams can keep existing workflows while the access point becomes the place where control and monitoring happen.
Multi-factor authentication for remote access, described by CIS Controls v8.1 Safeguard 6.4, is the other half of the evidence. Session recordings show who connected, but they do not prove that a second factor was checked at login. Before you rely on Teleport Community Edition for this, confirm which identity provider you can use: the feature matrix limits Community single sign-on to GitHub, while Enterprise supports Okta, Microsoft Entra ID, Google Workspace, OIDC and SAML. If your MFA policy lives in an enterprise identity provider, that gap decides whether Community is enough. Ask the vendor to show the login event in the audit log next to the second-factor result.
DeployOpen prepares these controls and collects the evidence an assessor will ask for, including role definitions, certificate lifetimes, session recording retention, access reviews and the list of managed access points. DeployOpen does not issue audit reports, attestations or certifications. Independent auditors and certification bodies decide whether your environment meets a given requirement. Before the assessment, ask your assessor which artifacts they expect for the recorded sessions and which log fields they need, then confirm that the chosen platform can export them in that form.
Moving SSH access and session recording without a gap
This sequence keeps every SSH, Kubernetes and database session covered by a recorded, policy-checked path at each stage, so access moves group by group with an audit trail intact and the old recorder retires only after the new one has proven itself.
Inventory current SSH rules and recording scope
The platform or security engineer exports the Tailscale ACL and grants file, lists the SSH rules that apply to each tag and user, and records which hosts, Kubernetes clusters and databases the PAM extension currently records. Each protected resource gets an owner, a required recording level and a retention requirement agreed with compliance. Tailscale's own export options are covered in the configuration export guidance. The step is done when every SSH rule maps to a named group, a target set and a recording owner, and gaps are logged as open questions.
Identify features that must be rebuilt
Before any cutover, the team lists Tailscale features that have no one-to-one equivalent in the target stack, such as tag-based SSH rules, how check-mode or approval behavior is configured, and the way PAM recording is attached to specific sessions. Headscale documents Tailscale SSH support, but the team should confirm each rule type against its own policy file and against the Headscale feature list, since OIDC groups cannot be used in ACLs and autogroups are only partly supported. Teleport and JumpServer handle recording and approvals through their own roles and workflows, so each rule is rewritten there. The output is a rebuild register that names the owner of each rebuilt rule.
Stand up the control plane on a separate host
The infrastructure team deploys Headscale or the chosen bastion on a host separate from production workloads, with its own backup and access controls. Headscale's README advises against running it behind reverse proxies or in containers, so the team should plan the network placement accordingly. For JumpServer, the quickstart expects a clean 64-bit Linux server with at least 4 CPU cores and 8 GB of RAM, and the team should confirm those specifications against its sizing. The step is done when the service answers health checks, its database and configuration are backed up, and administrative access is limited to named accounts.
Onboard test hosts with pre-auth keys or OIDC
The engineer enrolls a small set of non-production hosts and one test user group using pre-authenticated keys or basic OIDC login, which Headscale supports with profile updates from the identity provider. Test hosts should cover a Linux server, one Kubernetes cluster and one database, because those are the resource types the recording layer must capture. Teleport and JumpServer enrollment is checked in the same way, with certificates or agents confirmed on each target. The step is done when each test host is reachable through the new path, its identity is traceable to a named user, and enrollment keys have expiry and single-use settings.
Run both paths and compare recorded sessions
The team runs Tailscale SSH and the new bastion side by side for the test group, and performs the same set of tasks on each path, such as an SSH login, a kubectl exec and a database query. The security reviewer compares the recordings for completeness, playback, user attribution, command capture and retention location, and checks that a denied session is refused on the new path. Teleport's feature matrix lists session recording with playback in both editions, while moderated sessions and dual authorization are Enterprise-only, so the reviewer records which controls the chosen edition actually provides. The step is done when the comparison report is signed off by security and the gaps have owners.
Cut over access one group at a time
The platform lead moves one access group per change window, starting with the lowest-risk group, and removes that group's Tailscale SSH rules only after the new path works for every member. Each cutover has a written rollback step that restores the previous rule, and the group owner confirms access before the next group moves. Teams keep Tailscale and the new path reachable in parallel until the final group moves. The step is done when every group has a signed cutover record and no user depends on the old rules.
Retire the old recorder and retain logs
After the last cutover, the team exports the historical session logs from the PAM extension and archives them in a location that meets the retention period set by compliance, with access restricted and integrity protected. The old recorder and its agents are disabled, the Tailscale SSH rules are removed, and any tailnet credentials are revoked. The reviewer confirms that archived recordings can still be retrieved and played back. The step is done when a written retirement record lists what was removed, where archives are stored and who can access them.
How the tailnet, recorder and target hosts connect
The flow starts on a user's laptop enrolled in the tailnet, which first reaches the Headscale control server for keys and addresses. The session then goes through a Teleport or JumpServer proxy inside the private network, which authenticates the user, opens the SSH, Kubernetes or database connection to the target, and writes the session recording to a store under the organization's control. Check that the proxy is the only path to targets, that the recording store is reachable only by audit staff, and that the control server does not sit on a path that bypasses the proxy.
Traffic path from a tailnet device through the access proxy to recorded targets.
What does it cost and take to replace Tailscale SSH and session recording?
What cost components does a self-hosted replacement for Tailscale SSH and session recording include?
The cost has four parts: software licensing, servers, implementation and ongoing operation. Teleport Community Edition and JumpServer Community edition carry no license fee for qualifying use, so the recurring spend is mostly infrastructure and the staff time to run it. Servers are needed for the Teleport auth and proxy services and for a JumpServer host, which the JumpServer quickstart describes as a clean 64-bit Linux server with at least 4 CPU cores and 8 GB of RAM. Implementation covers identity integration, role design, agent rollout and session recording storage. Ongoing work includes upgrades, monitoring, backups and on-call response. Enterprise editions add a per-user and per-resource fee for Teleport and a quote-based tier for JumpServer, so ask each vendor for the exact commercial terms before choosing a path.
Is the Teleport or JumpServer Community edition enough for our organization?
It depends on your size and on the features you need. Teleport's Community Edition builds are licensed only for organizations with fewer than 100 employees and less than $10,000,000 in annual revenue, with an exception for designated critical security patch versions. Larger organizations need an Enterprise agreement. Community Edition also limits single sign-on to GitHub and does not include just-in-time access requests, moderated sessions or dual authorization, which are Enterprise features. JumpServer's free self-hosted Community edition covers up to 5,000 assets in a standalone topology. Enterprise Basic, Standard, Pro and Ultimate tiers add high availability, Oracle and SQL Server access, ticket and just-in-time approval workflows, SSO and RADIUS. Count your employees, revenue, assets and required approval workflows before you commit.
How long does it take to replace Tailscale SSH with recorded access?
The duration depends on the number of hosts, Kubernetes clusters and databases in scope, how many identity sources must be connected, and how strict your audit retention rules are. Teams that only need SSH on a few Linux hosts face a much smaller job than teams that also route Kubernetes and PostgreSQL access through a recorded path. Work usually moves in stages: a pilot host group, then role mapping, then the remaining resources, with Tailscale kept running until each group is verified. Ask any implementation partner for a written timeline tied to a defined scope, and confirm it against your own change calendar and the number of people who must approve each stage.
What must our team provide before a Teleport or JumpServer deployment starts?
Four inputs decide most of the work. First, an identity provider that supports the login method you choose, since Community Edition Teleport limits SSO to GitHub, while Enterprise supports Okta, Microsoft Entra ID, Google Workspace, OIDC and SAML. Second, a current host inventory covering SSH servers, Kubernetes clusters, database endpoints and any Windows hosts, with owners named for each. Third, written audit retention rules that say how long session recordings are kept, who can play them back and where they are stored. Fourth, a network plan that shows which access points sit on the private network, since JumpServer is typically placed there as a bastion. Gather these before work starts so the scope can be written and priced accurately.
Can our own engineers replace Tailscale SSH and session recording without an outside partner?
Yes, if you have engineers who already run Linux services, certificates, identity integration and backup. Teleport issues short-lived certificates and is compatible with OpenSSH clients and servers, which helps teams that already know SSH. JumpServer is published with a quick_start.sh installer and Docker Hub images, which lowers the setup effort. The harder parts are role design, recording storage, access review and keeping both the old and new paths working during cutover. If that skill set is thin in-house, a fixed-scope engagement with DeployOpen can plan, implement, document and harden the deployment inside your own infrastructure, and you can keep the upgrade and monitoring work in-house afterward.
What should we ask for in a written quote for this replacement?
Ask for a quote that lists each component separately so you can compare it with your current Tailscale spend. Request these items:
- The exact scope: hosts, Kubernetes clusters, databases, Windows systems and the identity sources in each group.
- The edition and license terms for Teleport and JumpServer, including any Enterprise tier and the user, resource or asset count it covers.
- Infrastructure needed, such as servers for the auth, proxy and bastion roles, and who pays for them.
- Deliverables for role design, session recording configuration, audit retention settings, documentation and the cutover plan.
- Support and upgrade terms, and whether a retainer covers patching after go-live.
- Acceptance criteria and the retest or verification step before Tailscale SSH is switched off.
What recurring costs remain after the replacement is live?
The recurring costs are the servers and storage for the access plane and session recordings, the staff time for upgrades and monitoring, and any Enterprise subscription. Teleport's pricing page says customers pay for active users and protected resources, so growth in people and systems raises that fee. JumpServer's paid tiers are scaled by asset count and include high availability at Standard and above. Session recording storage grows with the number of sessions and your retention period, so set those rules early. Add on-call coverage for the access path, since a failed bastion or proxy blocks administrators from reaching production. Compare these recurring items with the Tailscale seats and tagged resource fees you pay today.
What to confirm before choosing a recorder
Start with licence eligibility, because it decides whether Teleport is even an option at your size. The Teleport Community Edition license only permits distributed builds for organizations with fewer than 100 employees and less than $10,000,000 in annual revenue, with an exception for designated critical security patch versions. Confirm your headcount and revenue against those thresholds with your legal team, and read the current terms in the Teleport Community Edition license yourself. If you exceed them, the choice becomes a commercial Enterprise quote or a different recorder, and that changes the cost model from the start. Also confirm how your existing Tailscale SSH access is governed today, since that determines what a replacement must reproduce.
Next, list the identity providers your people and auditors actually use. Teleport Community Edition limits single sign-on to GitHub, while Enterprise supports Google Workspace, Microsoft Entra ID, Okta, SailPoint, generic OIDC and SAML. If your workforce signs in through Entra ID or Okta, Community Edition will not meet that requirement. Separately, confirm whether you need moderated sessions, dual authorization, Device Trust or HSM support, since the feature matrix lists these as Enterprise-only, along with FIPS binaries and FedRAMP controls. Also decide whether just-in-time access requests and access reviews are required for your control set, because they sit under Enterprise Identity Governance. Ask any vendor to show these features working in a demo tenant rather than accepting the matrix alone.
Finally, test whether your Tailscale SSH setup maps to what Headscale supports. Export your ACL policy and write down every ssh rule, including the users, action and check-mode settings, then compare each one with Headscale's documented feature list. Headscale lists Tailscale SSH among its features, but OIDC groups cannot be used in ACLs and autogroups are only partly supported, so any rule that depends on those constructs needs a rewrite or a different approach. Run a proof of concept with a non-production tailnet, confirm that session recording is not assumed to come from Tailscale itself, and document the gaps before you decide which recorder sits in front of your SSH, Kubernetes and database targets.
How DeployOpen scopes and delivers this replacement
DeployOpen plans, implements, integrates, hardens, documents and supports self-hosted open-source access platforms inside your own infrastructure, so session recording, SSH access and bastion controls stay under your administration. We start from your current Tailscale SSH and PAM workflows, then agree a written scope before any work begins.
How we scope
- Inventory which SSH hosts, Kubernetes clusters and databases currently use Tailscale SSH and recorded sessions today.
- Map who needs access, which roles approve it and what session evidence your auditors or security team must retain.
- Agree in writing whether the design uses Headscale with Tailscale SSH, Teleport for recorded access, JumpServer as a bastion, or a combination.
How we build
- Deploy the chosen platform in your cloud accounts, data center or air-gapped network, with SSO and certificate-based access configured.
- Configure session recording, role mappings and audit logging so each recorded session can be traced to a named user and resource.
- Test access paths, permission boundaries and recording behavior before any user is moved onto the new platform.
How we hand over
- Deliver architecture notes, configuration records, role and access matrices and runbooks for administrators.
- Document which Tailscale SSH or PAM features are replaced, partly replaced or not carried over, so gaps are explicit.
- Provide a handover session with your platform, security and compliance staff to walk through evidence and recovery steps.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Retainers can cover version upgrades of the access platform, backups of its configuration and periodic access reviews.
- Ask us to confirm the support scope, response expectations and upgrade cadence in writing before the retainer starts.

