Mercurial > dropbear
changeset 697:aadfa8de977d
improve subsystem/sftp documentation, and multi-hop manual formatting
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 03 Mar 2013 11:47:41 +0800 |
parents | d6067dd60490 |
children | 5f2d16d3e598 |
files | cli-runopts.c dbclient.1 |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <identityfile> (multiple allowed)\n" #endif
--- 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