casvisor /casvisor
An open-source bastion host (jump server) for SSH, RDP, VNC and Telnet with web access, session recording, audit logs and Casdoor SSO
★ 312⑂ 11👁 6⑃ 16● 8▤ 8
+1
Daily
+8
Weekly
312
stars
11
forks
6
watchers
16
prs
8
issues
8
releases
README
An open-source bastion host (jump server) for SSH, RDP, VNC, Telnet and databases
Casvisor gives your team one place to reach servers, desktops and databases from the browser.
It connects over SSH, RDP, VNC, Telnet, MySQL, PostgreSQL, SQL Server, Oracle, Redis, MongoDB, ClickHouse, Dameng and HTTP for internal websites, with an SSH gateway for ssh, scp and VS Code and a database proxy for DBeaver, Navicat, mysql and psql,
and records every session, checks every command and keeps the passwords to itself.
Website ·
Documentation ·
Live demo ·
Discord
SSH and VNC in the browser, with rm -rf / stopped by a command rule and every command on record.
Session replay. Play back SSH, Telnet, VNC and RDP sessions in the browser, with the commands beside them.
Command records. Every command and SQL statement, and which rule blocked or flagged it.
Permissions. Who can reach which assets, from where, until when and with which actions.
🚀 Try it in 30 seconds
No database and no config file needed. This runs Casvisor on SQLite with its own accounts:
bash
docker run -d --name casvisor -p 19000:19000 -p 2222:2222 \
-v casvisor-db:/db -v casvisor-recordings:/recordings casbin/casvisor
docker logs casvisor
Open and sign in:
| Field | Value |
|-------|-------|
| Username | admin |
| Password | the one printed in docker logs casvisor |
Pass -e adminPassword= to choose the first password instead. Either way, change it under My Account after you sign in.
Prefer not to install anything? The hosted demo at demo.casvisor.com comes with a sandboxed Linux shell (SSH) and a private desktop (VNC) to connect to. Nothing there touches a real server, sessions end after 15 minutes, and each visitor can keep two sessions open at a time.
🤔 Why Casvisor
Casvisor sits between the people who run your servers and the servers themselves. People open sessions from a browser tab, or with their own ssh, scp and VS Code through the SSH gateway. They only reach the servers and databases a permission gives them, and never see the stored passwords.
- One Go binary. Casvisor speaks SSH, RDP, VNC, Telnet, MySQL, PostgreSQL, SQL Server, Oracle, Redis, MongoDB, ClickHouse, Dameng (DM8), HTTP and the Kubernetes API itself, with nothing to install on the servers. It runs on SQLite with its own accounts out of the box.
- Apache-2.0, no enterprise edition. Recording, the SSH gateway, network gateways, system accounts, jobs and everything else in this README are in the open-source project.
- Policy you can read. Permissions are enforced with Casbin, and sign-in can be handed to Casdoor for SSO, MFA, LDAP and social logins.
- Audit by default. Sessions are recorded, commands and SQL statements are checked against your rules anLatest release
v2.1.0 v2.1.0 2026-11-23Changelog Features c856c46993519b70004498967fba9ba9f2be6172 feat: add Web assets, opened on subdomains of webAssetDomain through a reverse proxy with permissions, command rules and request records ea612504a7c99cf632a816e390c41be9d1ee52d7 feat: add a database proxy for MySQL and PostgreSQL clients with database tokens, and ClickHouse and Dameng consoles ebec127d6df72696141c1ebb25cec4d4d5fbd017 feat: add account templates that give many assets the same system account, and a daily scan for risky and unmanaged accounts 0ab339cca05a89d678593c478c09dd4a0c01b671 feat: add audit reports of sign-i