Keyboard-first SSH library and launcher TUI. Search, preview, and connect with a soft neon look and minimal chrome.
- Homebrew:
brew tap ruphy/sshdb && brew install sshdb - From GitHub:
cargo install --git https://github.com/ruphy/sshdb - From source:
cargo install --path .
/search •Enterconnect •cconnect with remote command •gquick connect (ssh string)nnew host •eedit •ddelete (confirm) •yduplicate host •uundo last change •rreload configj/kor arrows move •Ctoggle dry-run •?help overlay •aabout/credits •q/Ctrl+Cquit •Esccloses modals/help
- Paste an
ssh ... user@hostcommand or fill the fields; both paths are supported (pasting auto-unpacks the fields). - Fields:
name,host,user,port,key_path,bastion(by host name),tags,options(space-separated, passed through to ssh),remote_command(runs by default),description. - Edit host shows a read-only command preview at the bottom.
- Hit
g, paste a rawssh user@host(or full ssh command). If it’s new, sshdb adds it; if it already exists, it reuses it; either way it connects immediately.
- Stored at
~/.sshdb/config.toml(created empty on first run; no sample hosts). default_keyis used when a host has nokey_path; if set toagentsshdb won’t add-i.- If no key is set and an SSH agent exists (e.g., 1Password), sshdb avoids
-iso the agent works. Without an agent, it falls back to~/.ssh/id_ed25519then~/.ssh/id_rsa. - Backups are written as
config.toml.bakon save.
- TUI is
ratatui+crossterm; realsshruns outside the overlay. - Dry-run shows the full command before launching; default is live connects.
