summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2014-02-09 16:09:50 +0000
committerColin Watson <cjwatson@debian.org>2016-02-29 12:32:23 +0000
commit68e8163d9209f731c582fe5350002c51c9551983 (patch)
tree24e0bfcd9c0be509e72b83a5b311bbf192f20e37
parenta00cba810338ce920de432e7797a45794bf280ba (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 d2a3d4b1a..559e4c7d0 100644
--- a/readconf.c
+++ b/readconf.c
@@ -182,6 +182,7 @@ static struct {
182 { "passwordauthentication", oPasswordAuthentication }, 182 { "passwordauthentication", oPasswordAuthentication },
183 { "kbdinteractiveauthentication", oKbdInteractiveAuthentication }, 183 { "kbdinteractiveauthentication", oKbdInteractiveAuthentication },
184 { "kbdinteractivedevices", oKbdInteractiveDevices }, 184 { "kbdinteractivedevices", oKbdInteractiveDevices },
185 { "useblacklistedkeys", oDeprecated },
185 { "rsaauthentication", oRSAAuthentication }, 186 { "rsaauthentication", oRSAAuthentication },
186 { "pubkeyauthentication", oPubkeyAuthentication }, 187 { "pubkeyauthentication", oPubkeyAuthentication },
187 { "dsaauthentication", oPubkeyAuthentication }, /* alias */ 188 { "dsaauthentication", oPubkeyAuthentication }, /* alias */
diff --git a/servconf.c b/servconf.c
index b8af6dda7..fad7c92ef 100644
--- a/servconf.c
+++ b/servconf.c
@@ -533,6 +533,7 @@ static struct {
533 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL }, 533 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL },
534 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL }, 534 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL },
535 { "strictmodes", sStrictModes, SSHCFG_GLOBAL }, 535 { "strictmodes", sStrictModes, SSHCFG_GLOBAL },
536 { "permitblacklistedkeys", sDeprecated, SSHCFG_GLOBAL },
536 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL }, 537 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL },
537 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL }, 538 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL },
538 { "uselogin", sUseLogin, SSHCFG_GLOBAL }, 539 { "uselogin", sUseLogin, SSHCFG_GLOBAL },