1
1
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:
AJ ONeal 2026-04-21 23:56:34 -06:00
parent 3551f8e963
commit ea42006cbe
No known key found for this signature in database

View File

@ -36,6 +36,10 @@ func usage() {
"\n"+
" ex: sclient --ssh 22 example.com 3000\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())
flag.PrintDefaults()
fmt.Println()