summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2014-02-09 16:09:50 +0000
committerColin Watson <cjwatson@debian.org>2017-03-29 01:39:47 +0100
commitfb7c3c37876359b7a110e1386a6b7887cd2c8ca2 (patch)
tree100bf7722369d6f17421ae04c4c1b15fa283dacc
parente5d3ea2ca423a54b1d53d45252cb7173a15600eb (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 00d9cc302..32a729574 100644
--- a/readconf.c
+++ b/readconf.c
@@ -186,6 +186,7 @@ static struct {
186 { "fallbacktorsh", oDeprecated }, 186 { "fallbacktorsh", oDeprecated },
187 { "globalknownhostsfile2", oDeprecated }, 187 { "globalknownhostsfile2", oDeprecated },
188 { "rhostsauthentication", oDeprecated }, 188 { "rhostsauthentication", oDeprecated },
189 { "useblacklistedkeys", oDeprecated },
189 { "userknownhostsfile2", oDeprecated }, 190 { "userknownhostsfile2", oDeprecated },
190 { "useroaming", oDeprecated }, 191 { "useroaming", oDeprecated },
191 { "usersh", oDeprecated }, 192 { "usersh", oDeprecated },
diff --git a/servconf.c b/servconf.c
index d796b7c8a..ca73f7c55 100644
--- a/servconf.c
+++ b/servconf.c
@@ -521,6 +521,7 @@ static struct {
521 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL }, 521 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL },
522 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL }, 522 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL },
523 { "strictmodes", sStrictModes, SSHCFG_GLOBAL }, 523 { "strictmodes", sStrictModes, SSHCFG_GLOBAL },
524 { "permitblacklistedkeys", sDeprecated, SSHCFG_GLOBAL },
524 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL }, 525 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL },
525 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL }, 526 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL },
526 { "uselogin", sDeprecated, SSHCFG_GLOBAL }, 527 { "uselogin", sDeprecated, SSHCFG_GLOBAL },