mirror of
https://github.com/upa/mscp.git
synced 2026-02-27 02:34:42 +08:00
add -B BIND_ADDR option
This option enables using multiple NICs to transfer files.
This commit is contained in:
@@ -41,6 +41,9 @@ mscp \- copy files over multiple SSH connections
|
||||
.BI \-L \ LIMIT_BITRATE\c
|
||||
]
|
||||
[\c
|
||||
.BI \-B \ BIND_ADDR\c
|
||||
]
|
||||
[\c
|
||||
.BI \-l \ LOGIN_NAME\c
|
||||
]
|
||||
[\c
|
||||
@@ -220,6 +223,13 @@ delivered over SSH. Changing this value is not recommended at present.
|
||||
Limits the bitrate, specified with k (K), m (M), and g (G), e.g., 100m
|
||||
indicates 100 Mbps.
|
||||
|
||||
.TP
|
||||
.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.
|
||||
|
||||
.TP
|
||||
.B \-4
|
||||
Uses IPv4 addresses only.
|
||||
|
||||
17
doc/mscp.rst
17
doc/mscp.rst
@@ -2,7 +2,7 @@
|
||||
MSCP
|
||||
====
|
||||
|
||||
:Date: v0.2.4
|
||||
:Date: v0.2.4-2-g7b5a970
|
||||
|
||||
NAME
|
||||
====
|
||||
@@ -16,10 +16,11 @@ SYNOPSIS
|
||||
*COREMASK* ] [ **-u** *MAX_STARTUPS* ] [ **-I** *INTERVAL* ] [ **-W**
|
||||
*CHECKPOINT* ] [ **-R** *CHECKPOINT* ] [ **-s** *MIN_CHUNK_SIZE* ] [
|
||||
**-S** *MAX_CHUNK_SIZE* ] [ **-a** *NR_AHEAD* ] [ **-b** *BUF_SIZE* ] [
|
||||
**-L** *LIMIT_BITRATE* ] [ **-l** *LOGIN_NAME* ] [ **-P** *PORT* ] [
|
||||
**-F** *SSH_CONFIG* ] [ **-o** *SSH_OPTION* ] [ **-i** *IDENTITY* ] [
|
||||
**-J** *DESTINATION* ] [ **-c** *CIPHER* ] [ **-M** *HMAC* ] [ **-C**
|
||||
*COMPRESS* ] [ **-g** *CONGESTION* ] *source ... target*
|
||||
**-L** *LIMIT_BITRATE* ] [ **-B** *BIND_ADDR* ] [ **-l** *LOGIN_NAME* ]
|
||||
[ **-P** *PORT* ] [ **-F** *SSH_CONFIG* ] [ **-o** *SSH_OPTION* ] [
|
||||
**-i** *IDENTITY* ] [ **-J** *DESTINATION* ] [ **-c** *CIPHER* ] [
|
||||
**-M** *HMAC* ] [ **-C** *COMPRESS* ] [ **-g** *CONGESTION* ] *source
|
||||
... target*
|
||||
|
||||
DESCRIPTION
|
||||
===========
|
||||
@@ -120,6 +121,12 @@ OPTIONS
|
||||
Limits the bitrate, specified with k (K), m (M), and g (G), e.g.,
|
||||
100m indicates 100 Mbps.
|
||||
|
||||
**-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.
|
||||
|
||||
**-4**
|
||||
Uses IPv4 addresses only.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user