Skip to content
Snippets Groups Projects
Commit 9c6533d2 authored by Yang Tse's avatar Yang Tse
Browse files

Increase MaxAuthTries from 0 to 10. Using a value of 0 is too restrictive

parent b4305764
No related branches found
No related tags found
No related merge requests found
......@@ -531,8 +531,8 @@ if(sshd_supports_opt('Compression','no')) {
if(sshd_supports_opt('KeepAlive','no')) {
push @cfgarr, 'KeepAlive no';
}
if(sshd_supports_opt('MaxAuthTries','0')) {
push @cfgarr, 'MaxAuthTries 0';
if(sshd_supports_opt('MaxAuthTries','10')) {
push @cfgarr, 'MaxAuthTries 10';
}
if(sshd_supports_opt('PermitTunnel','no')) {
push @cfgarr, 'PermitTunnel no';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment