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-10 13:00:39 +0000
commit50201dd1c0a38e8a26d614b1679981610a8effc5 (patch)
tree5fceb5ef966a9f7c0fc53af52b47d6a68e8db99d
parent16caff9bcfbc638ed7d2e01a338db678f138faa5 (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 },