Mercurial > dropbear
comparison dbclient.1 @ 783:34e69908b3f7
Use '#' for host#port separator, document it. This fixes scp
in multihop
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 17 Apr 2013 22:48:43 +0800 |
parents | e8b2ca448928 |
children | 0e5ea6812bb7 |
comparison
equal
deleted
inserted
replaced
782:e0084f136cb8 | 783:34e69908b3f7 |
---|---|
13 .RI [ command ] | 13 .RI [ command ] |
14 | 14 |
15 .B dbclient | 15 .B dbclient |
16 [ | 16 [ |
17 .I args ] | 17 .I args ] |
18 .I [user1]@host1[/port1],[user2]@host2[/port2],... | 18 .I [user1]@host1[#port1],[user2]@host2[#port2],... |
19 | 19 |
20 .SH DESCRIPTION | 20 .SH DESCRIPTION |
21 .B dbclient | 21 .B dbclient |
22 is a SSH 2 client designed to be small enough to be used in small memory | 22 is a SSH 2 client designed to be small enough to be used in small memory |
23 environments, while still being functional and secure enough for general use. | 23 environments, while still being functional and secure enough for general use. |
24 .SH OPTIONS | 24 .SH OPTIONS |
25 .TP | 25 .TP |
26 .B \-p \fIport | 26 .B \-p \fIport |
27 Remote port. | 27 Connect to |
28 Connect to port | |
29 .I port | 28 .I port |
30 on the remote host. | 29 on the remote host. Alternatively a port can be specified as hostname#port. |
31 Default is 22. | 30 Default is 22. |
32 .TP | 31 .TP |
33 .B \-i \fIidfile | 32 .B \-i \fIidfile |
34 Identity file. | 33 Identity file. |
35 Read the identity from file | 34 Read the identity from file |
125 .SH MULTI-HOP | 124 .SH MULTI-HOP |
126 Dropbear will also allow multiple "hops" to be specified, separated by commas. In | 125 Dropbear will also allow multiple "hops" to be specified, separated by commas. In |
127 this case a connection will be made to the first host, then a TCP forwarded | 126 this case a connection will be made to the first host, then a TCP forwarded |
128 connection will be made through that to the second host, and so on. Hosts other than | 127 connection will be made through that to the second host, and so on. Hosts other than |
129 the final destination will not see anything other than the encrypted SSH stream. | 128 the final destination will not see anything other than the encrypted SSH stream. |
130 A port for a host can be specified with a slash (eg matt@martello/44 ). | 129 A port for a host can be specified with a hash (eg matt@martello#44 ). |
131 This syntax can also be used with scp or rsync (specifying dbclient as the | 130 This syntax can also be used with scp or rsync (specifying dbclient as the |
132 ssh/rsh command). A file can be "bounced" through multiple SSH hops, eg | 131 ssh/rsh command). A file can be "bounced" through multiple SSH hops, eg |
133 | 132 |
134 scp -S dbclient matt@martello,root@wrt,canyons:/tmp/dump . | 133 scp -S dbclient matt@martello,root@wrt,canyons:/tmp/dump . |
135 | 134 |