manpage: improve descriptions for MaxStartups

This commit is contained in:
Ryo Nakamura
2024-04-29 18:27:56 +09:00
parent ef2dd55572
commit 675126a836
3 changed files with 8 additions and 7 deletions

View File

@@ -130,7 +130,8 @@ pinned to any cores.
.TP .TP
.B \-u \fIMAX_STARTUPS\fR .B \-u \fIMAX_STARTUPS\fR
Specifies the number of concurrent outgoing SSH connections. Specifies the number of concurrent unauthenticated SSH connection
attempts.
.B sshd .B sshd
limits the number of simultaneous SSH connection attempts by limits the number of simultaneous SSH connection attempts by
.I MaxStartups .I MaxStartups

View File

@@ -2,7 +2,7 @@
MSCP MSCP
==== ====
:Date: v0.2.0-7-gab6649f :Date: v0.2.0-8-gef2dd55
NAME NAME
==== ====
@@ -60,10 +60,10 @@ OPTIONS
pinned to any cores. pinned to any cores.
**-u MAX_STARTUPS** **-u MAX_STARTUPS**
Specifies the number of concurrent outgoing SSH connections. **sshd** Specifies the number of concurrent unauthenticated SSH connection
limits the number of simultaneous SSH connection attempts by attempts. **sshd** limits the number of simultaneous SSH connection
*MaxStartups* in *sshd_config.* The default *MaxStartups* is 10; attempts by *MaxStartups* in *sshd_config.* The default *MaxStartups*
thus, we set the default MAX_STARTUPS 8. is 10; thus, we set the default MAX_STARTUPS 8.
**-I INTERVAL** **-I INTERVAL**
Specifies the interval (in seconds) between SSH connection attempts. Specifies the interval (in seconds) between SSH connection attempts.

View File

@@ -40,7 +40,7 @@ void usage(bool print_help)
printf(" -n NR_CONNECTIONS number of connections " printf(" -n NR_CONNECTIONS number of connections "
"(default: floor(log(cores)*2)+1)\n" "(default: floor(log(cores)*2)+1)\n"
" -m COREMASK hex value to specify cores where threads pinned\n" " -m COREMASK hex value to specify cores where threads pinned\n"
" -u MAX_STARTUPS number of concurrent SSH connection attempts " " -u MAX_STARTUPS number of concurrent unauthed SSH attempts "
"(default: 8)\n" "(default: 8)\n"
" -I INTERVAL interval between SSH connection attempts (default: 0)\n" " -I INTERVAL interval between SSH connection attempts (default: 0)\n"
" -W CHECKPOINT write states to the checkpoint if transfer fails\n" " -W CHECKPOINT write states to the checkpoint if transfer fails\n"