summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2014-02-09 16:09:50 +0000
committerColin Watson <cjwatson@debian.org>2017-01-16 15:02:53 +0000
commitffecece153b7caedf997dccf17747633675631fd (patch)
tree412232ab69e680d17172babcd4c61306db8b1134
parenta01822fe1c50668ef7918dfd28b1c7e88ff16254 (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 7902ef26b..c1c3aae0d 100644
--- a/readconf.c
+++ b/readconf.c
@@ -194,6 +194,7 @@ static struct {
194 { "passwordauthentication", oPasswordAuthentication }, 194 { "passwordauthentication", oPasswordAuthentication },
195 { "kbdinteractiveauthentication", oKbdInteractiveAuthentication }, 195 { "kbdinteractiveauthentication", oKbdInteractiveAuthentication },
196 { "kbdinteractivedevices", oKbdInteractiveDevices }, 196 { "kbdinteractivedevices", oKbdInteractiveDevices },
197 { "useblacklistedkeys", oDeprecated },
197 { "rsaauthentication", oRSAAuthentication }, 198 { "rsaauthentication", oRSAAuthentication },
198 { "pubkeyauthentication", oPubkeyAuthentication }, 199 { "pubkeyauthentication", oPubkeyAuthentication },
199 { "dsaauthentication", oPubkeyAuthentication }, /* alias */ 200 { "dsaauthentication", oPubkeyAuthentication }, /* alias */
diff --git a/servconf.c b/servconf.c
index 14c81fa92..49d3bdc8c 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 },