summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2014-02-09 16:09:50 +0000
committerColin Watson <cjwatson@debian.org>2014-03-20 00:24:49 +0000
commitd422205e757aaf23e8e0e787f842ef37f6a170a2 (patch)
tree3371db88ed1a89978b4a4929ad796be723def214
parentae32d626ed3d15cfd7f432358b63c005961921df (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 7613ff2d9..bcd8cad18 100644
--- a/readconf.c
+++ b/readconf.c
@@ -172,6 +172,7 @@ static struct {
172 { "passwordauthentication", oPasswordAuthentication }, 172 { "passwordauthentication", oPasswordAuthentication },
173 { "kbdinteractiveauthentication", oKbdInteractiveAuthentication }, 173 { "kbdinteractiveauthentication", oKbdInteractiveAuthentication },
174 { "kbdinteractivedevices", oKbdInteractiveDevices }, 174 { "kbdinteractivedevices", oKbdInteractiveDevices },
175 { "useblacklistedkeys", oDeprecated },
175 { "rsaauthentication", oRSAAuthentication }, 176 { "rsaauthentication", oRSAAuthentication },
176 { "pubkeyauthentication", oPubkeyAuthentication }, 177 { "pubkeyauthentication", oPubkeyAuthentication },
177 { "dsaauthentication", oPubkeyAuthentication }, /* alias */ 178 { "dsaauthentication", oPubkeyAuthentication }, /* alias */
diff --git a/servconf.c b/servconf.c
index 0083cf896..90de88879 100644
--- a/servconf.c
+++ b/servconf.c
@@ -448,6 +448,7 @@ static struct {
448 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL }, 448 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL },
449 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL }, 449 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL },
450 { "strictmodes", sStrictModes, SSHCFG_GLOBAL }, 450 { "strictmodes", sStrictModes, SSHCFG_GLOBAL },
451 { "permitblacklistedkeys", sDeprecated, SSHCFG_GLOBAL },
451 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL }, 452 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL },
452 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL }, 453 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL },
453 { "uselogin", sUseLogin, SSHCFG_GLOBAL }, 454 { "uselogin", sUseLogin, SSHCFG_GLOBAL },