summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2014-02-09 16:09:50 +0000
committerColin Watson <cjwatson@debian.org>2014-10-07 14:26:47 +0100
commite6836d7c98c75d3252de56c2f3ea07e12c817e00 (patch)
tree47117eef254db5719a58be45c964f0a8090dbd4c
parentc9638aa44d787849cea1ae273f0908c6313fd19b (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 9127e9324..bc879eb9b 100644
--- a/readconf.c
+++ b/readconf.c
@@ -174,6 +174,7 @@ static struct {
174 { "passwordauthentication", oPasswordAuthentication }, 174 { "passwordauthentication", oPasswordAuthentication },
175 { "kbdinteractiveauthentication", oKbdInteractiveAuthentication }, 175 { "kbdinteractiveauthentication", oKbdInteractiveAuthentication },
176 { "kbdinteractivedevices", oKbdInteractiveDevices }, 176 { "kbdinteractivedevices", oKbdInteractiveDevices },
177 { "useblacklistedkeys", oDeprecated },
177 { "rsaauthentication", oRSAAuthentication }, 178 { "rsaauthentication", oRSAAuthentication },
178 { "pubkeyauthentication", oPubkeyAuthentication }, 179 { "pubkeyauthentication", oPubkeyAuthentication },
179 { "dsaauthentication", oPubkeyAuthentication }, /* alias */ 180 { "dsaauthentication", oPubkeyAuthentication }, /* alias */
diff --git a/servconf.c b/servconf.c
index cb3c831ab..a25248782 100644
--- a/servconf.c
+++ b/servconf.c
@@ -462,6 +462,7 @@ static struct {
462 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL }, 462 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL },
463 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL }, 463 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL },
464 { "strictmodes", sStrictModes, SSHCFG_GLOBAL }, 464 { "strictmodes", sStrictModes, SSHCFG_GLOBAL },
465 { "permitblacklistedkeys", sDeprecated, SSHCFG_GLOBAL },
465 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL }, 466 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL },
466 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL }, 467 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL },
467 { "uselogin", sUseLogin, SSHCFG_GLOBAL }, 468 { "uselogin", sUseLogin, SSHCFG_GLOBAL },