summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2014-02-09 16:09:50 +0000
committerColin Watson <cjwatson@debian.org>2019-10-09 23:06:25 +0100
commit42c820f76fddf2f2e537dbe10842aa39f6154059 (patch)
treea787bfa7299af047bedb530b16f0d437daad10ba
parent3131e3bb3c56a6c6ee8cb9d68f542af04cd9e8ff (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 3c68d1a88..a7fb7ca15 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 f63eb0b94..73b93c636 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 },