Increase MaxAuthTries from 0 to 10. Using a value of 0 is too restrictive
authorYang Tse <yangsita@gmail.com>
Sun, 6 Jan 2008 02:02:55 +0000 (02:02 +0000)
committerYang Tse <yangsita@gmail.com>
Sun, 6 Jan 2008 02:02:55 +0000 (02:02 +0000)
tests/sshserver.pl

index f651e07..22b83c9 100644 (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';