mirror of
https://github.com/therootcompany/sclient
synced 2026-04-29 10:47:59 +00:00
docs: add ssh_config ProxyCommand example to help text
This commit is contained in:
parent
3551f8e963
commit
ea42006cbe
@ -36,6 +36,10 @@ func usage() {
|
|||||||
"\n"+
|
"\n"+
|
||||||
" ex: sclient --ssh 22 example.com 3000\n"+
|
" ex: sclient --ssh 22 example.com 3000\n"+
|
||||||
" (try TLS+ssh ALPN on 443, fall back to SSH on port 22)\n"+
|
" (try TLS+ssh ALPN on 443, fall back to SSH on port 22)\n"+
|
||||||
|
"\n"+
|
||||||
|
" ~/.ssh/config:\n"+
|
||||||
|
" Host *\n"+
|
||||||
|
" ProxyCommand sclient --ssh %%p %%h\n"+
|
||||||
"\n", ver())
|
"\n", ver())
|
||||||
flag.PrintDefaults()
|
flag.PrintDefaults()
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user