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

This commit is contained in:
Yang Tse 2008-01-06 02:02:55 +00:00
parent b430576436
commit 9c6533d287
1 changed files with 2 additions and 2 deletions

View File

@ -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';