sshportal is a jump-host style SSH bastion that manages users, hosts, keys, and ACLs while logging sessions. A single binary embeds SSH server and client pieces.
Overview
sshportal acts as a transparent SSH bastion: users connect to the portal instead of juggling jump servers, and operators manage who reaches which hosts from one place. It decouples portal users from accounts on remote machines and supports inviting users without collecting public keys by hand.
The server ships as one autonomous binary with embedded SSH client and server, regularly tested on Linux and macOS. Features include host and user management, groups, role levels, ACLs tied to user-groups and host-groups, multiple keys per user, host key learning and verification shared across users, session monitoring and history, audit logging, and tunnel logging. It can reach hosts that only accept passwords as well as key-based hosts, and works with common SSH clients and libraries without custom client changes.
Administrators configure the system through a built-in shell over SSH or by running commands remotely. Operators can encrypt sensitive data, restore from JSON backup exports, and use a healthcheck user that responds OK without authentication for probes. IPv4 and IPv6 are supported, and Git workflows can route multiple user keys through the portal.
Docker is the recommended way to run sshportal, with images on Docker Hub. Multiple portal instances can share a MySQL database instead of the default local SQLite store for scaling. Manual install via Go binaries is also documented.
Key features
- SSH and telnet bastion access
- User invite and key management
- Host and ACL group management
- Session logging and audit trail
- Embedded admin configuration shell
- JSON backup and restore
- Healthcheck without authentication
- MySQL-backed multi-instance scaling
Use cases
- Centralize SSH access to many servers
- Grant temporary student or event access
- Audit who ran commands on hosts
- Connect to password-only SSH targets
- Operate a single monitored jump point