mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
ssh: added timeout parameter (optimize #289 @299)
This commit is contained in:
1 parent
ff09c45fb6
commit
5cbfcf815f
7 files changed
+66
-37
No files matched your search
@@ -177,7 +177,8 @@ func usage() {
|
||||
fmt.Fprintf(w, "\n")
|
||||
|
||||
fmt.Fprintf(w, "SSH scheme:\n")
|
||||
fmt.Fprintf(w, " ssh://user[:pass]@host:port[?key=keypath]\n")
|
||||
fmt.Fprintf(w, " ssh://user[:pass]@host:port[?key=keypath&timeout=SECONDS]\n")
|
||||
fmt.Fprintf(w, " timeout: timeout of ssh handshake and channel operation, default: 5\n")
|
||||
fmt.Fprintf(w, "\n")
|
||||
|
||||
fmt.Fprintf(w, "VMess scheme:\n")
|
||||
|
||||
Reference in new issue
Block a user