sshm removes the copy-paste step from SSH. Server credentials live in your Bitwarden vault; sshm lets you pick a folder and a server, then connects.
At a glance
| Role | Creator and maintainer |
| Status | Released (open source) |
| Use | Credentials stay in Bitwarden, not in notes or shell history |
| Stack | Bash, Bitwarden CLI, gum |
sshm — zsh
❯ sshmVault unlocked.> Search folders... prodProduction> Search servers... appApp Serverdeploy@app-server:~$ exit❯ sshm "App Server" -c "docker ps --format {{.Names}}"$ docker ps --format {{.Names}}apiworkerredis❯ sshm "App Server" -t db -t web● db 127.0.0.1:5432● web 127.0.0.1:3000Press Ctrl+C to disconnect
Features
- Interactive selection — fuzzy-search folders and servers with gum
- Tunnel presets — save recurring tunnels (database, web, Redis) as Bitwarden custom fields and launch them by name
- Multi-tunnel — run several tunnels at once with per-tunnel status
- Remote commands — run a command on a server without opening a shell
- Clipboard copy — copy a server password on Wayland or X11
- Session caching — unlock the vault once and reuse the session token
Engineering
- Stack: modular Bash (separate files for actions, config, credentials, data, picker, and session), with shell completions
- Dependencies: bitwarden-cli, jq, gum, sshpass
- Why: I manage several servers for ALReserve and client projects, and wanted credentials out of notes and shell history