From aba14b3fdc9321ed377e49695a469ba402429250 Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Sat, 15 Nov 2025 22:55:54 +0900 Subject: [PATCH] update man for -B option --- doc/mscp.1.in | 16 ++++++++++++++-- doc/mscp.rst | 15 ++++++++++++--- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/doc/mscp.1.in b/doc/mscp.1.in index e04a7ac..710251f 100644 --- a/doc/mscp.1.in +++ b/doc/mscp.1.in @@ -227,8 +227,8 @@ indicates 100 Mbps. .B \-B \fIBIND_ADDR\fR Specifies a local IP address to bind. When multiple -B options are specified, SSH connections will be bound to the addresses in a round -robin manner. This feature enables using multiple NICs having differnt -IP addresses. +robin manner. This feature enables using multiple network interfaces +having differnt IP addresses. .TP .B \-4 @@ -445,6 +445,18 @@ will be faster than the default chacha20-poly1305 cipher, particularly on hosts that support AES-NI. +.PP +Use multiple network interfaces having different IP addresses: + +.nf + $ 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/ +.fi + +Out of the 9 SSH connections, three of them are bound to each of +10.0.0.10, 10.0.0.11, and 10.0.0.12 in a round robin manner. + + + .SH "SEE ALSO" .BR scp (1), .BR ssh (1), diff --git a/doc/mscp.rst b/doc/mscp.rst index f8d74f8..d8cb130 100644 --- a/doc/mscp.rst +++ b/doc/mscp.rst @@ -2,7 +2,7 @@ MSCP ==== -:Date: v0.2.4-2-g7b5a970 +:Date: v0.2.4-6-gcd61363 NAME ==== @@ -124,8 +124,8 @@ OPTIONS **-B BIND_ADDR** Specifies a local IP address to bind. When multiple -B options are specified, SSH connections will be bound to the addresses in a round - robin manner. This feature enables using multiple NICs having - differnt IP addresses. + robin manner. This feature enables using multiple network interfaces + having differnt IP addresses. **-4** Uses IPv4 addresses only. @@ -276,6 +276,15 @@ SFTP WRITE/READ commands, and **-c aes128-gcm@openssh.com** will be faster than the default chacha20-poly1305 cipher, particularly on hosts that support AES-NI. +Use multiple network interfaces having different IP addresses: + +:: + + $ 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/ + +Out of the 9 SSH connections, three of them are bound to each of +10.0.0.10, 10.0.0.11, and 10.0.0.12 in a round robin manner. + SEE ALSO ========