Engity's Bifröst
Highly customizable SSH server with several ways to authorize a user and options where and how to execute a user's session.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Introduction
Bifröst (pronounced "Bee-frest") is an open-source SSH server developed by Engity GmbH, with its source code hosted on GitHub (engity-com/bifroest). It is fully compliant with the SSH protocol and can be used as a drop-in replacement for OpenSSH's sshd. Its design focuses on two things: how users are authenticated, and what environment user sessions run in.
Key Features
SSH protocol compliance
The server fully follows the SSH protocol (RFC 4253), so users can keep connecting with standard SSH clients such as OpenSSH and PuTTY. It supports the vast majority of common OpenSSH configurations, with only a few special cases unsupported, such as some options in authorized_keys like no-touch-required.
Multiple authorization methods
- Local: authenticate with local system users
- OIDC: sign in through an OpenID Connect or OAuth2 identity provider
- Simple: define users directly in the configuration
- Htpasswd: authenticate using an htpasswd file
- None: no authentication
Besides regular SSH public key login, it can also integrate with OpenID Connect identity providers. Unlike other SSH solutions that support OIDC, users don't need to install any additional client; they can sign in using their usual SSH client.
Flexible session environments
- Docker: start a separate Docker container for each user, with customizable images, network settings, and more
- Kubernetes: users go straight into a dedicated Pod in a Kubernetes cluster and can access cluster resources without extra port forwarding
- Local: run sessions on the local machine, just like a traditional sshd
- Dummy: a virtual environment for testing
Remember me
After a user authenticates successfully with a public key, Bifröst can temporarily store that key for as long as the session remains valid, making reconnection faster.
Automatic user creation and cleanup
When a user logs in to a local environment via OIDC, Bifröst can automatically create a local user based on a predefined template. When the user is no longer needed, for example after the session has been idle for too long, it can automatically delete the user and their home directory and terminate all of their processes.
Other features
- Session management: session information can be stored on the file system
- Housekeeping: periodically clean up expired resources
- Templates and context objects: templates can be used in the configuration, and can reference context information such as the connection, authorization, OIDC token, container, and local user
Target Users and Use Cases
It suits operations teams, platform engineering teams, and enterprise IT departments that need to manage SSH access centrally, especially the following:
- Teams that want to log in to servers with a unified company identity (OIDC/SSO) without maintaining large numbers of SSH keys
- Scenarios where each user should get an isolated, disposable containerized shell environment
- Teams that need to let developers debug by going directly into a Kubernetes cluster over SSH
Installation and Deployment
The official documentation offers two installation methods:
- Install directly on the host (On Host)
- Run in Docker (In Docker)
Multiple release distributions are also available. Server behavior such as authentication methods, runtime environments, and sessions is defined through configuration files, and a command-line tool (CLI) is also provided. For detailed steps, see the Getting started section of the official documentation.
Notable Characteristics
- Can directly replace sshd, with low migration cost
- Supports OIDC login without requiring a dedicated client
- Can run SSH sessions inside containers or Kubernetes Pods, which suits isolated and temporary environments
- Creation and deletion of local users can be fully automated
- The documentation is fairly complete, and the official documentation also includes a comparison with other similar solutions (Alternatives)
Discover more
Cardea
Cardea is an SSH bastion server with access control, session recording, and optional TPM-backed key protection.
Firezone
Secure remote access gateway that supports the WireGuard protocol. It offers a Web GUI, 1-line install script, multi-factor auth (MFA), and SSO.
ShellHub
ShellHub is a modern SSH server for remotely accessing linux devices via command line (using any SSH client) or web-based user interface, designed as an alternative to sshd.
Sshwifty
Sshwifty is a SSH and Telnet connector made for the Web.
Termix
Self-hosted, plugin-based server management.
Warpgate
Smart SSH and HTTPS bastion that works with any SSH client.