summaryrefslogtreecommitdiffhomepage
path: root/dbclient.1
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-04-17 22:48:43 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-04-17 22:48:43 +0800
commit3525cabf48eb97d2e58a1e715e70fab399d40568 (patch)
treecc75333d1eb608ca8a9f32484834c3a637555244 /dbclient.1
parent54a76342f5e4df4e6510b38815bb95ad44d6ef36 (diff)
Use '#' for host#port separator, document it. This fixes scp
in multihop
Diffstat (limited to 'dbclient.1')
-rw-r--r--dbclient.19
1 files changed, 4 insertions, 5 deletions
diff --git a/dbclient.1 b/dbclient.1
index aac32ff..2379e4a 100644
--- a/dbclient.1
+++ b/dbclient.1
@@ -15,7 +15,7 @@ dbclient \- lightweight SSH2 client
.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 @@ environments, while still being functional and secure enough for general use.
.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
@@ -127,7 +126,7 @@ Dropbear will also allow multiple "hops" to be specified, separated by commas. I
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