16 releases (4 breaking)
Uses new Rust 2024
| 0.5.2 | May 20, 2025 |
|---|---|
| 0.5.1 | May 20, 2025 |
| 0.4.5 | Mar 12, 2025 |
| 0.4.3 | Feb 28, 2025 |
| 0.1.1 | Jul 18, 2024 |
#356 in Command-line interface
1,382 downloads per month
1.5MB
965 lines
ssher
English | 简体中文
ssher is an easy-to-use command line tool for connecting to remote servers.

Installation
- Install with
cargo install
cargo install ssher
- Install from binary
For MacOS or Linux:
curl -sSL https://github.com/poneding/ssher-rs/raw/master/install.sh | sh
For Windows:
Download the lastest executable from Releases and add it to the PATH.
Usage

- Select a server and connect
ssher
ssher -s <server>
- Add a server
ssher add
- Remove servers
# remove, rm
ssher rm
ssher rm <server_a> <server_b>
- List servers
# list, ls
ssher ls
- Rename a server
ssher rename
ssher rename <server_a>
- Edit a server
ssher edit
ssher edit <server>
- Import servers from ssh config file
ssher import
ssher import -c <ssh_config_file>
- Check version
# version, v
ssher v
- Help
ssher help
Completions
# bash
source <(ssher completion bash)
source <(COMPLETE=bash ssher)
# zsh
source <(ssher completion zsh)
source <(COMPLETE=zsh ssher)
# fish
ssher completion fish | source
source (COMPLETE=fish ssher | psub)
# powershell
ssher completion powershell > ssher.ps1
. .\ssher.ps1
$env:COMPLETE = "powershell"
ssher | Out-String | Invoke-Expression
You can add the command to your shell's profile e.g.
~/.bashrcor~/.zshrcto enable completions for each session.
Configuration
The configuration file is saved in the ~/.ssher.yaml file.
Dependencies
~34–72MB
~1M SLoC