ssh: added timeout parameter (optimize #289 @299)

This commit is contained in:
nadoo committed 2021-12-09 19:22:12 +08:00
1 parent ff09c45fb6
commit 5cbfcf815f
7 files changed
+66 -37

No files matched your search

+2 -1
View File
@@ -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")