# casvisor **Repository Path**: mr_sunke_admin/casvisor ## Basic Information - **Project Name**: casvisor - **Description**: Casbin 社区·单二进制堡垒机 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-11-14 - **Last Updated**: 2026-11-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
Online demo | Documentation | Issues | LINUX DO
Casvisor sits between the people who run your servers and the servers themselves. People open SSH, RDP, VNC and Telnet sessions from a browser tab, or use their own `ssh`, `scp` and VS Code through Casvisor's SSH gateway. They only reach the servers a permission gives them, never see the servers' passwords, and every session is recorded. - **One Go binary.** All four protocols are handled inside Casvisor, 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 and everything else in this README are in the open-source project. - **Policy you can read.** Permissions are enforced with [Casbin](https://casbin.apache.org), and sign-in can be handed to [Casdoor](https://casdoor.ai) for SSO, MFA, LDAP and social logins. ## Features **Connect** - **SSH** in an xterm.js terminal, with a file panel beside it for upload and download over SFTP. - **RDP** with [gordp](https://github.com/casvisor/gordp), a pure-Go RDP client: NLA, the GFX graphics pipeline (ClearCodec, RemoteFX Progressive) like the Windows client, sharp text on high-DPI screens, the remote cursor, clipboard, resizing with the window, and file transfer through a redirected drive. Works with Windows Server, Windows 10/11 and FreeRDP-based hosts such as Ubuntu. - **VNC** with noVNC. Casvisor does the VNC authentication itself, so the password stays on the server. - **Telnet** for network gear and old systems, logging in with the asset's account. - **SSH gateway** on port 2222: `ssh -p 2222 web-01@casvisor.example.com`, `scp`, `sftp`, `rsync`, Xshell and VS Code Remote, signed in with the user's public key and under the same permissions as the browser. - **Network gateways** for assets Casvisor cannot reach directly: through an SSH jump host, or through an agent that connects out from a private network over HTTPS. - **Stored credentials.** Passwords and private keys are encrypted in the database and filled in by Casvisor. SSH host keys and RDP certificates are pinned on first use. **Control** - **Permissions** on users, groups, assets and asset tags, with the actions `Connect`, `Copy`, `Paste`, `Upload`, `Download` and `Forward`, client IP ranges and a time window. - **Command rules** that block or flag commands matching a regular expression, in the web terminal and through the SSH gateway alike. - **Revocation takes effect at once.** Open sessions are disconnected as soon as their permission is edited, deleted or expires. **Audit** - **Session recording and playback** for SSH, Telnet, VNC and RDP, replayed in the browser with the same code that drew them live. SSH and Telnet recordings can be downloaded as asciicast. - **Live monitoring** of online sessions, and stopping any of them. - **Command records** of SSH and Telnet sessions, read off a virtual screen, so tab completion, history and line edits are captured as they ran. - **Operation log** of file transfers and every change made through the API. **Operate** - **Patch management** for SSH assets: scan for pending system updates, install them and restart, on Windows (Windows Update) and on Linux (apt, dnf, yum). - **Web console** in 9 languages, built with React, Vite and shadcn/ui, with a RESTful API and [Swagger docs](swagger). ## Quick start ```shell docker run -d --name casvisor -p 19000:19000 -p 2222:2222 \n -v casvisor-db:/db -v casvisor-recordings:/recordings casbin/casvisor docker logs casvisor ``` Open http://localhost:19000 and sign in as `admin` with the password printed in the log, then change it in **My Account**. Pass `-e adminPassword=