From a9cf0ca25f4946751cf946447617ee2330930b88 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Sun, 3 Mar 2013 11:47:41 +0800 Subject: [PATCH] improve subsystem/sftp documentation, and multi-hop manual formatting --- cli-runopts.c | 2 +- dbclient.1 | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 (multiple allowed)\n" #endif diff --git a/dbclient.1 b/dbclient.1 index 4472e70..69af18a 100644 --- a/dbclient.1 +++ b/dbclient.1 @@ -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