summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2014-02-09 16:09:50 +0000
committerColin Watson <cjwatson@debian.org>2018-04-03 08:20:56 +0100
commit4fb99d4eb8936b6ffae3749717abfc2dccbaa162 (patch)
tree926699cf52aa7454fd1797e7cef63ca2b65bc44b
parent7da968d97beba5fb80a5488516563ea1376db907 (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 c8e792991..1f1be7789 100644
--- a/readconf.c
+++ b/readconf.c
@@ -189,6 +189,7 @@ static struct {
189 { "fallbacktorsh", oDeprecated }, 189 { "fallbacktorsh", oDeprecated },
190 { "globalknownhostsfile2", oDeprecated }, 190 { "globalknownhostsfile2", oDeprecated },
191 { "rhostsauthentication", oDeprecated }, 191 { "rhostsauthentication", oDeprecated },
192 { "useblacklistedkeys", oDeprecated },
192 { "userknownhostsfile2", oDeprecated }, 193 { "userknownhostsfile2", oDeprecated },
193 { "useroaming", oDeprecated }, 194 { "useroaming", oDeprecated },
194 { "usersh", oDeprecated }, 195 { "usersh", oDeprecated },
diff --git a/servconf.c b/servconf.c
index cbbea05bf..3fff3d531 100644
--- a/servconf.c
+++ b/servconf.c
@@ -576,6 +576,7 @@ static struct {
576 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL }, 576 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL },
577 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL }, 577 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL },
578 { "strictmodes", sStrictModes, SSHCFG_GLOBAL }, 578 { "strictmodes", sStrictModes, SSHCFG_GLOBAL },
579 { "permitblacklistedkeys", sDeprecated, SSHCFG_GLOBAL },
579 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL }, 580 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL },
580 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL }, 581 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL },
581 { "uselogin", sDeprecated, SSHCFG_GLOBAL }, 582 { "uselogin", sDeprecated, SSHCFG_GLOBAL },