From 675126a8368503edee00854a5d82f9cc32524bc2 Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Mon, 29 Apr 2024 18:27:56 +0900 Subject: [PATCH] manpage: improve descriptions for MaxStartups --- doc/mscp.1.in | 3 ++- doc/mscp.rst | 10 +++++----- src/main.c | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/doc/mscp.1.in b/doc/mscp.1.in index 75bf8e3..150d1a0 100644 --- a/doc/mscp.1.in +++ b/doc/mscp.1.in @@ -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 diff --git a/doc/mscp.rst b/doc/mscp.rst index 8477c93..41ae876 100644 --- a/doc/mscp.rst +++ b/doc/mscp.rst @@ -2,7 +2,7 @@ MSCP ==== -:Date: v0.2.0-7-gab6649f +:Date: v0.2.0-8-gef2dd55 NAME ==== @@ -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. diff --git a/src/main.c b/src/main.c index 3562374..2e66202 100644 --- a/src/main.c +++ b/src/main.c @@ -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"