improve subsystem/sftp documentation, and multi-hop manual formatting

This commit is contained in:
Matt Johnston 2013-03-03 11:47:41 +08:00
parent 72a5612a29
commit a9cf0ca25f
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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