Mercurial > dropbear
diff dbclient.1 @ 801:7dcb46da72d9 ecc
merge in HEAD
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 21 May 2013 12:09:35 +0800 |
parents | 0e5ea6812bb7 |
children | f8b28a3de6cb |
line wrap: on
line diff
--- a/dbclient.1 Thu May 09 23:27:23 2013 +0800 +++ b/dbclient.1 Tue May 21 12:09:35 2013 +0800 @@ -15,7 +15,7 @@ .B dbclient [ .I args ] -.I [user1]@host1[/port1],[user2]@host2[/port2],... +.I [user1]@host1[%port1],[user2]@host2[%port2],... .SH DESCRIPTION .B dbclient @@ -24,10 +24,9 @@ .SH OPTIONS .TP .B \-p \fIport -Remote port. -Connect to port +Connect to .I port -on the remote host. +on the remote host. Alternatively a port can be specified as hostname%port. Default is 22. .TP .B \-i \fIidfile @@ -61,10 +60,10 @@ on the remote host. .TP .B \-t -Allocate a pty. +Allocate a PTY. .TP .B \-T -Don't allocate a pty. +Don't allocate a PTY. .TP .B \-N Don't request a remote shell or run any commands. Any command arguments are ignored. @@ -80,7 +79,8 @@ .TP .B \-y Always accept hostkeys if they are unknown. If a hostkey mismatch occurs the -connection will abort as normal. +connection will abort as normal. If specified a second time no host key checking +is performed at all, this is usually undesirable. .TP .B \-A Forward agent connections to the remote host. dbclient will use any @@ -126,7 +126,7 @@ 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 the final destination will not see anything other than the encrypted SSH stream. -A port for a host can be specified with a slash (eg matt@martello/44 ). +A port for a host can be specified with a hash (eg matt@martello%44 ). This syntax can also be used with scp or rsync (specifying dbclient as the ssh/rsh command). A file can be "bounced" through multiple SSH hops, eg @@ -136,6 +136,11 @@ in the example above, the same way as other -L TCP forwarded hosts are. Host keys are checked locally based on the given hostname. +.SH ESCAPE CHARACTERS +Typing a newline followed by the key sequence \fI~.\fR (tilde, dot) will terminate a connection. +The sequence \fI~^Z\fR (tilde, ctrl-z) will background the connection. This behaviour only +applies when a PTY is used. + .SH ENVIRONMENT .TP .B DROPBEAR_PASSWORD