summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2014-02-09 16:09:50 +0000
committerColin Watson <cjwatson@debian.org>2015-08-19 17:09:55 +0100
commitdd02db02d322c9db67d42fe491727854f951c828 (patch)
treeff21c00d0c02c5fcde1c39d9f5a4d19cfe89b16f
parent8b3e4a6ddad01fef62d153ac3b033de61a02696e (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 68dac7605..85eea4800 100644
--- a/readconf.c
+++ b/readconf.c
@@ -180,6 +180,7 @@ static struct {
180 { "passwordauthentication", oPasswordAuthentication }, 180 { "passwordauthentication", oPasswordAuthentication },
181 { "kbdinteractiveauthentication", oKbdInteractiveAuthentication }, 181 { "kbdinteractiveauthentication", oKbdInteractiveAuthentication },
182 { "kbdinteractivedevices", oKbdInteractiveDevices }, 182 { "kbdinteractivedevices", oKbdInteractiveDevices },
183 { "useblacklistedkeys", oDeprecated },
183 { "rsaauthentication", oRSAAuthentication }, 184 { "rsaauthentication", oRSAAuthentication },
184 { "pubkeyauthentication", oPubkeyAuthentication }, 185 { "pubkeyauthentication", oPubkeyAuthentication },
185 { "dsaauthentication", oPubkeyAuthentication }, /* alias */ 186 { "dsaauthentication", oPubkeyAuthentication }, /* alias */
diff --git a/servconf.c b/servconf.c
index 2f7f41e5c..8a5bd7b3e 100644
--- a/servconf.c
+++ b/servconf.c
@@ -510,6 +510,7 @@ static struct {
510 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL }, 510 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL },
511 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL }, 511 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL },
512 { "strictmodes", sStrictModes, SSHCFG_GLOBAL }, 512 { "strictmodes", sStrictModes, SSHCFG_GLOBAL },
513 { "permitblacklistedkeys", sDeprecated, SSHCFG_GLOBAL },
513 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL }, 514 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL },
514 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL }, 515 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL },
515 { "uselogin", sUseLogin, SSHCFG_GLOBAL }, 516 { "uselogin", sUseLogin, SSHCFG_GLOBAL },