概要
セキュリティを重視したセルフホスト型の SSH・SFTP ワークスペース。ホームラボやチーム向けで、マルチユーザー、パスキー、OIDC、暗号化された鍵、バックアップ、オフライン利用に対応しています。
システム・インフラ計測したスター増加
- 24時間
- 0
- 7日間
- +2
- 15日間
- +10
- 1か月
- +35
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル
WebSSH 3 - your self-hosted SSH, files and automation workspace.
For homelabs and small teams. Runs as one container or one service on your own hardware.
Quick Start · Documentation · Product site · Watch the tour · Discussions
WebSSH keeps SSH terminals, SFTP and SMB files, commands, diagnostics and notes in one browser workspace, and runs commands on many hosts now or on a schedule. Accounts, keys and settings stay on your instance; there is no hosted control plane, no CDN at runtime and no telemetry.
Quick Start
Docker Compose (Linux, amd64 or arm64):
mkdir webssh && cd webssh
curl -O https://raw.githubusercontent.com/bifrost0x/webssh/main/docker-compose.yml
docker compose up -d
Unraid: search for WebSSH in Community Applications and select Install (guide).
LXC, Incus or Proxmox without Docker: run the release binary with the supplied systemd unit (guide).
Then open http://<host>:5000 and create the administrator account; the
first account becomes the administrator. This setup serves plain HTTP for a
trusted network. Saved passwords and automation need HTTPS, and nothing of it
belongs on the Internet unchanged. The
Quick Start guide has
the first steps and the defaults; the
Production Deployment
guide covers HTTPS and access from other networks. Coming from 3.3, read
Upgrading from 3.3
first.
Preview the animated product tour
Why WebSSH
- One workspace, not a terminal tab. Keep SSH sessions, SFTP sources, commands, live Linux context, and notes aligned with the active server.
- Self-hosted by design. Accounts, profiles, encrypted keys, host trust, audit records, and application data remain on your WebSSH instance.
- Clear boundaries. Authentication, ownership checks, network policy, host-key verification and quotas are enforced on the server.
- Useful from phone to workstation. The same interface adapts from a focused mobile shell to multi-pane desktop operations.
Features
The WebSSH Wiki covers each area in depth.
Overview and automation
- Status overview with host readiness, open sessions, automation results, reachability and recent activity, in a layout you arrange per account.
- Find hosts scans a network range you name for SSH and SFTP servers, only on request, and opens the host form prefilled.
- Automation runs commands, command sets and templates now or on a cron schedule, for saved hosts or complete groups. Administrators enable it; it needs HTTPS.
- Optional encrypted, per-account saved passwords, enabled by an administrator; they need HTTPS.
See all eleven themes
Terminal workspace
- Multiple SSH sessions with tabs and 1-, 2-, or 4-pane layouts.
- Saved connections, jump hosts, per-host SOCKS5 proxy routes, key, password, SSH server PAM MFA and optional Tailscale SSH.
- Optional persistent remote shells through tmux, and an optional Herdr integration.
- Broadcast input, terminal search, transcripts and reconnect controls.
- Session-aware Files, Commands, Diagnostics, and Notes contexts.
- Active Session Monitoring for supported Linux resource and runtime data.
- Expanded Diagnostics for resource history, processes, systemd services, and Docker containers.
- Clipboard-Only Service Actions that prepare allowlisted commands without executing the service change inside WebSSH.
Files and transfers
- SFTP file workspace with independent tabs and one or two file panes; uploads, downloads, previews and inline editing with a reviewed diff.
- Server-to-server transfers across SFTP and SMB sources with progress, cancellation, explicit conflict handling and a shared transfer queue.
- SMB is disabled by default (
SMB_ENABLED=false) and needs an exactSMB_ALLOWED_TARGETSallowlist, SMB 3.1.1, signing and encryption.
Identity and operations
- Local multi-user accounts; optional Passkeys, authenticator apps, recovery codes, OIDC, GitHub App and LDAP/Active Directory sign-in.
- Action-bound confirmation for protected account and administrative changes.
- Encrypted SSH private keys and per-user host-key trust.
- Audit log, online backup and restore, health and readiness endpoints.
Screenshots
Captured from the current interface with synthetic hosts and example data. More on the product site.
Security Boundary
WebSSH is trusted infrastructure: it handles credentials, terminal I/O and file data, and is not an end-to-end encrypted relay.
Keep these deployment contracts intact:
- Terminate HTTPS at a trusted boundary and protect the WebSSH host, data volume, logs, backups, and administrator accounts.
- Review SSH host-key fingerprints before trusting them and investigate unexpected changes.
- Exactly one WebSSH process serves a data directory. Live SSH state and the resource coordination are process-local; replicas are not supported.
- Realtime connection limits and SSH, transfer and job quotas form one capacity model; raise them together for more users.
- External OIDC or LDAP identity never bypasses the local account, ownership, or authorization model. Retain a tested local break-glass administrator.
- Native backups exclude saved remote passwords and SSH keys. They still contain account authentication data and may contain the persisted application secret; store them encrypted and off-host. After restore, reimport keys, recreate passwords, reassign credentials, and review and re-enable schedules.
See the Security Model and Hardening guide and the project's security policy before exposing WebSSH to untrusted networks.
Documentation
Detailed guidance lives in the WebSSH Wiki; its versioned source is reviewed with the code.
| Goal | Guide |
|---|---|
| Install with Docker | Docker and Docker Compose |
| Install on Unraid | Install on Unraid |
| Install without Docker (LXC, Incus, Proxmox) | Install in LXC, Incus or Proxmox |
| Upgrade from 3.3 | Upgrading from 3.3 |
| Update, roll back, verify images | Upgrading, Rollback and FAQ |
| Deploy behind HTTPS | Production Deployment |
| Configure every setting | Configuration Reference |
| Connect and verify hosts | SSH Connections and Host Keys |
| Use terminal and tmux sessions | Terminal and Persistent tmux Sessions |
| Work with files and transfers | SFTP and SMB File Workspace and Transfers |
| Automate commands | Automation |
| Save passwords for hosts | Saved Passwords |
| Configure authentication | Authentication Overview |
| Run backup or restore | Backup, Restore and Secret Rotation |
| Troubleshoot health checks | Health Checks and Troubleshooting |
| Understand the runtime | Architecture and Runtime Lifecycle |
| Develop and test locally | Development and Testing |
More: releases · roadmap · product site · code graph · container image
Contributing and Support
Bug reports and focused pull requests are welcome. Propose features with the feature request template; architecture ideas can start in GitHub Discussions so the security and runtime boundaries can be reviewed before implementation.
- Read Development and Testing.
- Use Issues for reproducible bugs.
- Report vulnerabilities privately through GitHub Security Advisories.
- Support ongoing work through GitHub Sponsors, Patreon or Buy Me a Coffee.
Star History
License
WebSSH is available under the Apache License 2.0.
Bundled third-party components retain their own licenses. See Licensing and retained notices.
関連プロジェクトを探す
読み込み中…