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 | dd9159918a6c4a4553af833333f930c10536ae12 (patch) | |
tree | 24f35156bd1d81cd203a59f8aad5f57296dde86f | |
parent | 63dc746102d1f6b3d3255e44099b742c6c58371b (diff) | |
download | dropbear-dd9159918a6c4a4553af833333f930c10536ae12.tar.gz |
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 |