Skip to content

Commit aba14b3

Browse files
committed
update man for -B option
1 parent cd61363 commit aba14b3

2 files changed

Lines changed: 26 additions & 5 deletions

File tree

doc/mscp.1.in

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ indicates 100 Mbps.
227227
.B \-B \fIBIND_ADDR\fR
228228
Specifies a local IP address to bind. When multiple -B options are
229229
specified, SSH connections will be bound to the addresses in a round
230-
robin manner. This feature enables using multiple NICs having differnt
231-
IP addresses.
230+
robin manner. This feature enables using multiple network interfaces
231+
having differnt IP addresses.
232232

233233
.TP
234234
.B \-4
@@ -445,6 +445,18 @@ will be faster than the default chacha20-poly1305 cipher, particularly
445445
on hosts that support AES-NI.
446446

447447

448+
.PP
449+
Use multiple network interfaces having different IP addresses:
450+
451+
.nf
452+
$ mscp -n 9 -B 10.0.0.10 -B 10.0.0.11 -B 10.0.0.12 many-large-files 192.168.0.1:dst/
453+
.fi
454+
455+
Out of the 9 SSH connections, three of them are bound to each of
456+
10.0.0.10, 10.0.0.11, and 10.0.0.12 in a round robin manner.
457+
458+
459+
448460
.SH "SEE ALSO"
449461
.BR scp (1),
450462
.BR ssh (1),

doc/mscp.rst

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
MSCP
33
====
44

5-
:Date: v0.2.4-2-g7b5a970
5+
:Date: v0.2.4-6-gcd61363
66

77
NAME
88
====
@@ -124,8 +124,8 @@ OPTIONS
124124
**-B BIND_ADDR**
125125
Specifies a local IP address to bind. When multiple -B options are
126126
specified, SSH connections will be bound to the addresses in a round
127-
robin manner. This feature enables using multiple NICs having
128-
differnt IP addresses.
127+
robin manner. This feature enables using multiple network interfaces
128+
having differnt IP addresses.
129129

130130
**-4**
131131
Uses IPv4 addresses only.
@@ -276,6 +276,15 @@ SFTP WRITE/READ commands, and **-c aes128-gcm@openssh.com** will be
276276
faster than the default chacha20-poly1305 cipher, particularly on hosts
277277
that support AES-NI.
278278

279+
Use multiple network interfaces having different IP addresses:
280+
281+
::
282+
283+
$ mscp -n 9 -B 10.0.0.10 -B 10.0.0.11 -B 10.0.0.12 many-large-files 192.168.0.1:dst/
284+
285+
Out of the 9 SSH connections, three of them are bound to each of
286+
10.0.0.10, 10.0.0.11, and 10.0.0.12 in a round robin manner.
287+
279288
SEE ALSO
280289
========
281290

0 commit comments

Comments
 (0)