This commit is contained in:
anki-code 2020-03-15 00:33:26 +03:00
parent 13cb8e66ea
commit 51e6eea207

View file

@ -15,15 +15,15 @@ After install you can just using `xxh` command as replace `ssh` to connecting to
## Usage ## Usage
``` ```
$ ./xxh -h ____ __________ @ @ $ ./xxh -h
usage: xxh <host from ~/.ssh/config> ______ / \ \__/ usage: xxh <host from ~/.ssh/config>
usage: xxh [ssh arguments] [user@]host[:port] [xxh arguments] ____ / ______ \ / \ usage: xxh [ssh arguments] [user@]host[:port] [xxh arguments]
usage: xxh [-p SSH_PORT] [-l SSH_LOGIN] [-i SSH_PRIVATE_KEY] _____ / / __ \ \ / _/ usage: xxh [-p SSH_PORT] [-l SSH_LOGIN] [-i SSH_PRIVATE_KEY]
[-o SSH_OPTION -o ...] [+P PASSWORD] [+PP] ___ ( / / / \ \ / [-o SSH_OPTION -o ...] [+P PASSWORD] [+PP]
[user@]host[:port] \ \___/ / / / [user@]host[:port]
[+i] [+if] [+s SHELL] [+e NAME=VAL +e ...] [+iff] [+hhr] ____\ /__/ / [+i] [+if] [+s SHELL] [+e NAME=VAL +e ...] [+iff] [+hhr]
[+hh HOST_XXH_HOME] [+hf HOST_EXEC_FILE] [+hc HOST_EXEC_CMD] / \________/ / [+hh HOST_XXH_HOME] [+hf HOST_EXEC_FILE] [+hc HOST_EXEC_CMD]
[+xc XXH_CONFIG] [+lh LOCAL_XXH_HOME] [+v] [+vv] [+q] /____________________/ [+xc XXH_CONFIG] [+lh LOCAL_XXH_HOME] [+v] [+vv] [+q]
``` ```
There is `~/.xxh/.xxhc` [yaml](https://en.wikipedia.org/wiki/YAML) config to save arguments and reuse it: There is `~/.xxh/.xxhc` [yaml](https://en.wikipedia.org/wiki/YAML) config to save arguments and reuse it: