summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2014-02-09 16:09:50 +0000
committerColin Watson <cjwatson@debian.org>2014-03-19 16:40:05 +0000
commit9ae199bbd2484aed4fd61535221a96f1ae478712 (patch)
tree9e01df59fba5dddde5c4f6522dd9a66e87fb5318
parent7afb9ad9307191397a3ccf3d7cc90dfe474b09e8 (diff)
Accept obsolete ssh-vulnkey configuration options
These options were used as part of Debian's response to CVE-2008-0166. Nearly six years later, we no longer need to continue carrying the bulk of that patch, but we do need to avoid failing when the associated configuration options are still present. Last-Update: 2014-02-09 Patch-Name: ssh-vulnkey-compat.patch
-rw-r--r--readconf.c1
-rw-r--r--servconf.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/readconf.c b/readconf.c
index cb8bcb2cf..2a1fe8ec6 100644
--- a/readconf.c
+++ b/readconf.c
@@ -171,6 +171,7 @@ static struct {
171 { "passwordauthentication", oPasswordAuthentication }, 171 { "passwordauthentication", oPasswordAuthentication },
172 { "kbdinteractiveauthentication", oKbdInteractiveAuthentication }, 172 { "kbdinteractiveauthentication", oKbdInteractiveAuthentication },
173 { "kbdinteractivedevices", oKbdInteractiveDevices }, 173 { "kbdinteractivedevices", oKbdInteractiveDevices },
174 { "useblacklistedkeys", oDeprecated },
174 { "rsaauthentication", oRSAAuthentication }, 175 { "rsaauthentication", oRSAAuthentication },
175 { "pubkeyauthentication", oPubkeyAuthentication }, 176 { "pubkeyauthentication", oPubkeyAuthentication },
176 { "dsaauthentication", oPubkeyAuthentication }, /* alias */ 177 { "dsaauthentication", oPubkeyAuthentication }, /* alias */
diff --git a/servconf.c b/servconf.c
index 29209e452..65f71ade8 100644
--- a/servconf.c
+++ b/servconf.c
@@ -456,6 +456,7 @@ static struct {
456 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL }, 456 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL },
457 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL }, 457 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL },
458 { "strictmodes", sStrictModes, SSHCFG_GLOBAL }, 458 { "strictmodes", sStrictModes, SSHCFG_GLOBAL },
459 { "permitblacklistedkeys", sDeprecated, SSHCFG_GLOBAL },
459 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL }, 460 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL },
460 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL }, 461 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL },
461 { "uselogin", sUseLogin, SSHCFG_GLOBAL }, 462 { "uselogin", sUseLogin, SSHCFG_GLOBAL },