summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2014-02-09 16:09:50 +0000
committerColin Watson <cjwatson@debian.org>2016-08-07 12:18:42 +0100
commite35c0bb4c3997b8ef885c6afdcc600b403eb878b (patch)
treee22f5b7eb762d36c3450d99bff0c8475342f410f
parent7a7851c903e5dbb58a85014deb2c88cb718068c9 (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 e019195e7..c0b7822e1 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 9b0628181..bf9f8f784 100644
--- a/servconf.c
+++ b/servconf.c
@@ -541,6 +541,7 @@ static struct {
541 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL }, 541 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL },
542 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL }, 542 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL },
543 { "strictmodes", sStrictModes, SSHCFG_GLOBAL }, 543 { "strictmodes", sStrictModes, SSHCFG_GLOBAL },
544 { "permitblacklistedkeys", sDeprecated, SSHCFG_GLOBAL },
544 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL }, 545 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL },
545 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL }, 546 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL },
546 { "uselogin", sUseLogin, SSHCFG_GLOBAL }, 547 { "uselogin", sUseLogin, SSHCFG_GLOBAL },