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 16:33:31 +0100
commitd027dea6b4b659a7ad537e452db563763302eabd (patch)
treec28cbe2ab0a6f73f618f3b368cbd6d93fc2e1009
parentb9e97e15e25e4c836cb550213e3ee59b19096f9d (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 254dbce57..278fe152b 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 f68c0d0ae..b3a2841fb 100644
--- a/servconf.c
+++ b/servconf.c
@@ -503,6 +503,7 @@ static struct {
503 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL }, 503 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL },
504 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL }, 504 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL },
505 { "strictmodes", sStrictModes, SSHCFG_GLOBAL }, 505 { "strictmodes", sStrictModes, SSHCFG_GLOBAL },
506 { "permitblacklistedkeys", sDeprecated, SSHCFG_GLOBAL },
506 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL }, 507 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL },
507 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL }, 508 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL },
508 { "uselogin", sUseLogin, SSHCFG_GLOBAL }, 509 { "uselogin", sUseLogin, SSHCFG_GLOBAL },