summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2014-02-09 16:09:50 +0000
committerColin Watson <cjwatson@debian.org>2019-06-05 13:11:52 +0100
commit0138f331a73d692f4543477ce7f64f9ede7d6b08 (patch)
tree5394fe8f361154465d8698cadb898944c0a6394d
parent21e3ff3ab4791d3c94bd775da66cde29797fcb36 (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 4d699e5f1..29f3bd98d 100644
--- a/readconf.c
+++ b/readconf.c
@@ -192,6 +192,7 @@ static struct {
192 { "fallbacktorsh", oDeprecated }, 192 { "fallbacktorsh", oDeprecated },
193 { "globalknownhostsfile2", oDeprecated }, 193 { "globalknownhostsfile2", oDeprecated },
194 { "rhostsauthentication", oDeprecated }, 194 { "rhostsauthentication", oDeprecated },
195 { "useblacklistedkeys", oDeprecated },
195 { "userknownhostsfile2", oDeprecated }, 196 { "userknownhostsfile2", oDeprecated },
196 { "useroaming", oDeprecated }, 197 { "useroaming", oDeprecated },
197 { "usersh", oDeprecated }, 198 { "usersh", oDeprecated },
diff --git a/servconf.c b/servconf.c
index ffdad31e7..c01e0690e 100644
--- a/servconf.c
+++ b/servconf.c
@@ -621,6 +621,7 @@ static struct {
621 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL }, 621 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL },
622 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL }, 622 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL },
623 { "strictmodes", sStrictModes, SSHCFG_GLOBAL }, 623 { "strictmodes", sStrictModes, SSHCFG_GLOBAL },
624 { "permitblacklistedkeys", sDeprecated, SSHCFG_GLOBAL },
624 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL }, 625 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL },
625 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL }, 626 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL },
626 { "uselogin", sDeprecated, SSHCFG_GLOBAL }, 627 { "uselogin", sDeprecated, SSHCFG_GLOBAL },