summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2014-02-09 16:09:50 +0000
committerColin Watson <cjwatson@debian.org>2020-10-18 12:07:21 +0100
commit61b4d4c07d19cd0816ab5d48da81a75f7adbdf24 (patch)
tree149f51c79e2ac7227d681a8a6a610c15d14e00c9
parentc574865182e2c5dfa183b577f49ac602d16df5c0 (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 57dae55d1..b069333fa 100644
--- a/readconf.c
+++ b/readconf.c
@@ -191,6 +191,7 @@ static struct {
191 { "fallbacktorsh", oDeprecated }, 191 { "fallbacktorsh", oDeprecated },
192 { "globalknownhostsfile2", oDeprecated }, 192 { "globalknownhostsfile2", oDeprecated },
193 { "rhostsauthentication", oDeprecated }, 193 { "rhostsauthentication", oDeprecated },
194 { "useblacklistedkeys", oDeprecated },
194 { "userknownhostsfile2", oDeprecated }, 195 { "userknownhostsfile2", oDeprecated },
195 { "useroaming", oDeprecated }, 196 { "useroaming", oDeprecated },
196 { "usersh", oDeprecated }, 197 { "usersh", oDeprecated },
diff --git a/servconf.c b/servconf.c
index ded8f4a87..21abe41ac 100644
--- a/servconf.c
+++ b/servconf.c
@@ -649,6 +649,7 @@ static struct {
649 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL }, 649 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL },
650 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL }, 650 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL },
651 { "strictmodes", sStrictModes, SSHCFG_GLOBAL }, 651 { "strictmodes", sStrictModes, SSHCFG_GLOBAL },
652 { "permitblacklistedkeys", sDeprecated, SSHCFG_GLOBAL },
652 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL }, 653 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL },
653 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL }, 654 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL },
654 { "uselogin", sDeprecated, SSHCFG_GLOBAL }, 655 { "uselogin", sDeprecated, SSHCFG_GLOBAL },