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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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';