Skip to content

Commit

Permalink
manpage: improve descriptions for MaxStartups
Browse files Browse the repository at this point in the history
  • Loading branch information
upa committed Apr 29, 2024
1 parent ef2dd55 commit 675126a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion doc/mscp.1.in
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ pinned to any cores.

.TP
.B \-u \fIMAX_STARTUPS\fR
Specifies the number of concurrent outgoing SSH connections.
Specifies the number of concurrent unauthenticated SSH connection
attempts.
.B sshd
limits the number of simultaneous SSH connection attempts by
.I MaxStartups
Expand Down
10 changes: 5 additions & 5 deletions doc/mscp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
MSCP
====

:Date: v0.2.0-7-gab6649f
:Date: v0.2.0-8-gef2dd55

NAME
====
Expand Down Expand Up @@ -60,10 +60,10 @@ OPTIONS
pinned to any cores.

**-u MAX_STARTUPS**
Specifies the number of concurrent outgoing SSH connections. **sshd**
limits the number of simultaneous SSH connection attempts by
*MaxStartups* in *sshd_config.* The default *MaxStartups* is 10;
thus, we set the default MAX_STARTUPS 8.
Specifies the number of concurrent unauthenticated SSH connection
attempts. **sshd** limits the number of simultaneous SSH connection
attempts by *MaxStartups* in *sshd_config.* The default *MaxStartups*
is 10; thus, we set the default MAX_STARTUPS 8.

**-I INTERVAL**
Specifies the interval (in seconds) between SSH connection attempts.
Expand Down
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void usage(bool print_help)
printf(" -n NR_CONNECTIONS number of connections "
"(default: floor(log(cores)*2)+1)\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"
" -I INTERVAL interval between SSH connection attempts (default: 0)\n"
" -W CHECKPOINT write states to the checkpoint if transfer fails\n"
Expand Down

0 comments on commit 675126a

Please sign in to comment.