-
Notifications
You must be signed in to change notification settings - Fork 0
CLI Reference
CtrlUserKnown edited this page Jul 22, 2026
·
1 revision
Running ssm with no arguments opens the Interactive TUI.
Everything the TUI does is also available via the CLI, so ssm works well in
scripts and setup flows.
ssm [--version] [--help] [-c USER@HOST[:PORT]] [-l] [--import [PATH]]
| Flag | Description |
|---|---|
| (none) | Launch the full-screen TUI |
-c USER@HOST[:PORT] |
Connect directly to a host |
-l, --list
|
Print saved sessions as a table |
--import [PATH] |
Import hosts from an ssh_config file (default ~/.ssh/config); skips names that already exist |
--version |
Print version |
--help |
Print help |
# Launch the TUI
ssm
# List saved sessions
ssm --list
# Connect directly (no TUI)
ssm -c user@host
ssm -c user@host:2222
# Import hosts from your SSH config
ssm --import # ~/.ssh/config
ssm --import /path/to/ssh_configSee also: Interactive TUI · SSH Config Import · Configuration.
Guides
Contributing