summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2014-02-09 16:09:50 +0000
committerColin Watson <cjwatson@debian.org>2018-08-24 17:49:07 +0100
commit80ef33d2e2559a2fcb71940f0ef0de18f426dab4 (patch)
tree2905058e15a297085730c569f3517fb48532474b
parent03979f2e0768e146d179c66f2d2e33afe61c1be3 (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 4ad3c75fe..6e26ba32d 100644
--- a/readconf.c
+++ b/readconf.c
@@ -190,6 +190,7 @@ static struct {
190 { "fallbacktorsh", oDeprecated }, 190 { "fallbacktorsh", oDeprecated },
191 { "globalknownhostsfile2", oDeprecated }, 191 { "globalknownhostsfile2", oDeprecated },
192 { "rhostsauthentication", oDeprecated }, 192 { "rhostsauthentication", oDeprecated },
193 { "useblacklistedkeys", oDeprecated },
193 { "userknownhostsfile2", oDeprecated }, 194 { "userknownhostsfile2", oDeprecated },
194 { "useroaming", oDeprecated }, 195 { "useroaming", oDeprecated },
195 { "usersh", oDeprecated }, 196 { "usersh", oDeprecated },
diff --git a/servconf.c b/servconf.c
index e1ae07fb7..e49984a81 100644
--- a/servconf.c
+++ b/servconf.c
@@ -596,6 +596,7 @@ static struct {
596 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL }, 596 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL },
597 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL }, 597 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL },
598 { "strictmodes", sStrictModes, SSHCFG_GLOBAL }, 598 { "strictmodes", sStrictModes, SSHCFG_GLOBAL },
599 { "permitblacklistedkeys", sDeprecated, SSHCFG_GLOBAL },
599 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL }, 600 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL },
600 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL }, 601 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL },
601 { "uselogin", sDeprecated, SSHCFG_GLOBAL }, 602 { "uselogin", sDeprecated, SSHCFG_GLOBAL },