summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2014-02-09 16:09:50 +0000
committerColin Watson <cjwatson@debian.org>2016-12-23 11:25:02 +0000
commit01e8999cc86a0b2ffed5f98abed624b0e7c2707f (patch)
treeae810f3241d9ad04b35013c9467dd1a873f67254
parent5e4ebd6472d995738a2c67d618c4bd1ee2c00968 (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 7902ef26b..c1c3aae0d 100644
--- a/readconf.c
+++ b/readconf.c
@@ -194,6 +194,7 @@ static struct {
194 { "passwordauthentication", oPasswordAuthentication }, 194 { "passwordauthentication", oPasswordAuthentication },
195 { "kbdinteractiveauthentication", oKbdInteractiveAuthentication }, 195 { "kbdinteractiveauthentication", oKbdInteractiveAuthentication },
196 { "kbdinteractivedevices", oKbdInteractiveDevices }, 196 { "kbdinteractivedevices", oKbdInteractiveDevices },
197 { "useblacklistedkeys", oDeprecated },
197 { "rsaauthentication", oRSAAuthentication }, 198 { "rsaauthentication", oRSAAuthentication },
198 { "pubkeyauthentication", oPubkeyAuthentication }, 199 { "pubkeyauthentication", oPubkeyAuthentication },
199 { "dsaauthentication", oPubkeyAuthentication }, /* alias */ 200 { "dsaauthentication", oPubkeyAuthentication }, /* alias */
diff --git a/servconf.c b/servconf.c
index 14c81fa92..49d3bdc8c 100644
--- a/servconf.c
+++ b/servconf.c
@@ -521,6 +521,7 @@ static struct {
521 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL }, 521 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL },
522 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL }, 522 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL },
523 { "strictmodes", sStrictModes, SSHCFG_GLOBAL }, 523 { "strictmodes", sStrictModes, SSHCFG_GLOBAL },
524 { "permitblacklistedkeys", sDeprecated, SSHCFG_GLOBAL },
524 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL }, 525 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL },
525 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL }, 526 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL },
526 { "uselogin", sDeprecated, SSHCFG_GLOBAL }, 527 { "uselogin", sDeprecated, SSHCFG_GLOBAL },