diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-03-03 11:47:41 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-03-03 11:47:41 +0800 |
commit | a9cf0ca25f4946751cf946447617ee2330930b88 (patch) | |
tree | ea29ee167a5995c73f95fa64f951354405e53c23 | |
parent | 72a5612a294ef16eb157cafc483b2a975ed95f8e (diff) |
improve subsystem/sftp documentation, and multi-hop manual formatting
-rw-r--r-- | cli-runopts.c | 2 | ||||
-rw-r--r-- | dbclient.1 | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/cli-runopts.c b/cli-runopts.c index 140b0cf..791326c 100644 --- a/cli-runopts.c +++ b/cli-runopts.c @@ -63,7 +63,7 @@ static void printhelp() { "-N Don't run a remote command\n" "-f Run in background after auth\n" "-y Always accept remote host key if unknown\n" - "-s Request a subsystem (use for sftp)\n" + "-s Request a subsystem (use by external sftp)\n" #ifdef ENABLE_CLI_PUBKEY_AUTH "-i <identityfile> (multiple allowed)\n" #endif @@ -117,7 +117,11 @@ Specify a comma separated list of ciphers to enable. Use \fI-c help\fR to list p .TP .B \-m \fIMAClist Specify a comma separated list of authentication MACs to enable. Use \fI-m help\fR to list possibilities. +.TP +.B \-s +The specified command will be requested as a subsystem, used for sftp. Dropbear doesn't implement sftp itself but the OpenSSH sftp client can be used eg \fIsftp -S dbclient user@host\fR +.SH MULTI-HOP Dropbear will also allow multiple "hops" to be specified, separated by commas. In this case a connection will be made to the first host, then a TCP forwarded connection will be made through that to the second host, and so on. Hosts other than |