aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-01-27 02:35:20 +0000
committerYang Tse <yangsita@gmail.com>2008-01-27 02:35:20 +0000
commit8fca5c2e6908c6dee497d4fe25b8aa66ef0ecdf8 (patch)
tree1c5758e1d84df6362e731f77d0fd2a40bbcfe24b
parent5f2055729eb5079106b8b036a5a0a3535af7facf (diff)
Dont rely on PAMAuthenticationViaKbdInt default being 'no'
-rw-r--r--tests/sshserver.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/sshserver.pl b/tests/sshserver.pl
index 5f001fef4..b141cb424 100644
--- a/tests/sshserver.pl
+++ b/tests/sshserver.pl
@@ -342,6 +342,7 @@ if((! -e $hstprvkeyf) || (! -e $hstpubkeyf) ||
# Match : OpenSSH 4.4.0 and later [3]
# MaxAuthTries : OpenSSH 3.9.0 and later
# MaxStartups : OpenSSH 2.2.0 and later
+# PAMAuthenticationViaKbdInt
# PasswordAuthentication : OpenSSH 1.2.1 and later
# PermitEmptyPasswords : OpenSSH 1.2.1 and later
# PermitOpen : OpenSSH 4.4.0 and later [3]
@@ -537,6 +538,9 @@ if(sshd_supports_opt('KeepAlive','no')) {
if(sshd_supports_opt('MaxAuthTries','10')) {
push @cfgarr, 'MaxAuthTries 10';
}
+if(sshd_supports_opt('PAMAuthenticationViaKbdInt','no')) {
+ push @cfgarr, 'PAMAuthenticationViaKbdInt no';
+}
if(sshd_supports_opt('PermitTunnel','no')) {
push @cfgarr, 'PermitTunnel no';
}