# HG changeset patch # User Matt Johnston # Date 1362282461 -28800 # Node ID aadfa8de977dd4890f3009de0afc7ec539f89d23 # Parent d6067dd604907954e51a96c9713fb0d93249a0c8 improve subsystem/sftp documentation, and multi-hop manual formatting diff -r d6067dd60490 -r aadfa8de977d cli-runopts.c --- a/cli-runopts.c Sun Feb 24 00:16:02 2013 +0800 +++ b/cli-runopts.c Sun Mar 03 11:47:41 2013 +0800 @@ -63,7 +63,7 @@ "-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 (multiple allowed)\n" #endif diff -r d6067dd60490 -r aadfa8de977d dbclient.1 --- a/dbclient.1 Sun Feb 24 00:16:02 2013 +0800 +++ b/dbclient.1 Sun Mar 03 11:47:41 2013 +0800 @@ -117,7 +117,11 @@ .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