Crates.io | ssher |
lib.rs | ssher |
version | |
source | src |
created_at | 2024-07-08 09:53:43.388307 |
updated_at | 2025-02-13 08:08:23.33339 |
description | ssher is an easy-to-use command line tool for connecting to remote servers. |
homepage | https://github.com/poneding/ssher-rs |
repository | https://github.com/poneding/ssher-rs |
max_upload_size | |
id | 1295586 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
English | 简体中文
ssher is an easy-to-use command line tool for connecting to remote servers.
cargo install ssher
ssher
ssher -s <server>
ssher add
# remove, rm
ssher rm
ssher rm <server_a> <server_b>
# list, ls
ssher ls
ssher rename
ssher rename <server_a>
ssher edit
ssher edit <server>
# version, v
ssher v
ssher help
# bash
source <(ssher completion bash)
source <(COMPLETE=bash ssher)
# zsh
source <(ssher completion zsh)
source <(COMPLETE=bash zsh)
# 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.
~/.bashrc
or~/.zshrc
to enable completions for each session.
The configuration file is saved in the ~/.ssher.yaml
file.
source <(COMPLETE=bash ssher)
:$ source <(COMPLETE=bash ssher)
error: Broken pipe (os error 32)
Solutions:
brew install bash
COMPLETE=bash ssher > .ssher_bash_completion.sh
source .ssher_bash_completion.sh