summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2014-02-09 16:09:50 +0000
committerColin Watson <cjwatson@debian.org>2016-03-21 12:06:15 +0000
commitceebe313c4b094557bda974d274a6e7b5b33e3f9 (patch)
tree06e219f766b684b6edc1f3578ec12caaf5a288c9
parent206bdbf6bcc95e589effa11695aff2c6b9327e11 (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 d2a3d4b1a..559e4c7d0 100644
--- a/readconf.c
+++ b/readconf.c
@@ -182,6 +182,7 @@ static struct {
182 { "passwordauthentication", oPasswordAuthentication }, 182 { "passwordauthentication", oPasswordAuthentication },
183 { "kbdinteractiveauthentication", oKbdInteractiveAuthentication }, 183 { "kbdinteractiveauthentication", oKbdInteractiveAuthentication },
184 { "kbdinteractivedevices", oKbdInteractiveDevices }, 184 { "kbdinteractivedevices", oKbdInteractiveDevices },
185 { "useblacklistedkeys", oDeprecated },
185 { "rsaauthentication", oRSAAuthentication }, 186 { "rsaauthentication", oRSAAuthentication },
186 { "pubkeyauthentication", oPubkeyAuthentication }, 187 { "pubkeyauthentication", oPubkeyAuthentication },
187 { "dsaauthentication", oPubkeyAuthentication }, /* alias */ 188 { "dsaauthentication", oPubkeyAuthentication }, /* alias */
diff --git a/servconf.c b/servconf.c
index b8af6dda7..fad7c92ef 100644
--- a/servconf.c
+++ b/servconf.c
@@ -533,6 +533,7 @@ static struct {
533 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL }, 533 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL },
534 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL }, 534 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL },
535 { "strictmodes", sStrictModes, SSHCFG_GLOBAL }, 535 { "strictmodes", sStrictModes, SSHCFG_GLOBAL },
536 { "permitblacklistedkeys", sDeprecated, SSHCFG_GLOBAL },
536 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL }, 537 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL },
537 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL }, 538 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL },
538 { "uselogin", sUseLogin, SSHCFG_GLOBAL }, 539 { "uselogin", sUseLogin, SSHCFG_GLOBAL },