summaryrefslogtreecommitdiffhomepage
path: root/dropbear.8
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>2017-05-29 10:25:09 +0100
committerKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>2017-06-25 11:53:58 +0100
commite2551012993ea913e23012774330da926366487f (patch)
tree3c2362dfa1b0c55dd1b54fb54c8e4b9d2e399847 /dropbear.8
parenta94338dc6725f9f2594c6c5e1c9a799c7e11f3f1 (diff)
dropbear server: support -T max auth tries
Add support for '-T n' for a run-time specification for maximum number of authentication attempts where 'n' is between 1 and compile time option MAX_AUTH_TRIES. A default number of tries can be specified at compile time using 'DEFAULT_AUTH_TRIES' which itself defaults to MAX_AUTH_TRIES for backwards compatibility. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Diffstat (limited to 'dropbear.8')
-rw-r--r--dropbear.83
1 files changed, 3 insertions, 0 deletions
diff --git a/dropbear.8 b/dropbear.8
index be73372..2d5f32a 100644
--- a/dropbear.8
+++ b/dropbear.8
@@ -91,6 +91,9 @@ if 0 disables keepalives. If no response is received for 3 consecutive keepalive
.B \-I \fIidle_timeout
Disconnect the session if no traffic is transmitted or received for \fIidle_timeout\fR seconds.
.TP
+.B \-T \fImax_authentication_attempts
+Disconnect the session if number of authentication attempts is exceeded. default is set at compile time to DEFAULT_AUTH_TRIES which itself defaults to MAX_AUTH_TRIES (10)
+.TP
.B \-c \fIforced_command
Disregard the command provided by the user and always run \fIforced_command\fR. This also
overrides any authorized_keys command= option.