summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@ubuntu.com>2014-02-09 16:09:50 +0000
committerColin Watson <cjwatson@debian.org>2016-01-04 15:07:00 +0000
commit6b1e8291597ff151b913c470f4af4b04ddec5c7d (patch)
tree59718c632d21093763c5e2d13af0f276e83c9515
parent5f583693723b0f56608a9a91e58b248219a668c9 (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 43b7570a4..522ad373c 100644
--- a/readconf.c
+++ b/readconf.c
@@ -181,6 +181,7 @@ static struct {
181 { "passwordauthentication", oPasswordAuthentication }, 181 { "passwordauthentication", oPasswordAuthentication },
182 { "kbdinteractiveauthentication", oKbdInteractiveAuthentication }, 182 { "kbdinteractiveauthentication", oKbdInteractiveAuthentication },
183 { "kbdinteractivedevices", oKbdInteractiveDevices }, 183 { "kbdinteractivedevices", oKbdInteractiveDevices },
184 { "useblacklistedkeys", oDeprecated },
184 { "rsaauthentication", oRSAAuthentication }, 185 { "rsaauthentication", oRSAAuthentication },
185 { "pubkeyauthentication", oPubkeyAuthentication }, 186 { "pubkeyauthentication", oPubkeyAuthentication },
186 { "dsaauthentication", oPubkeyAuthentication }, /* alias */ 187 { "dsaauthentication", oPubkeyAuthentication }, /* alias */
diff --git a/servconf.c b/servconf.c
index cfe7029e6..ed3a88d4b 100644
--- a/servconf.c
+++ b/servconf.c
@@ -522,6 +522,7 @@ static struct {
522 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL }, 522 { "x11uselocalhost", sX11UseLocalhost, SSHCFG_ALL },
523 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL }, 523 { "xauthlocation", sXAuthLocation, SSHCFG_GLOBAL },
524 { "strictmodes", sStrictModes, SSHCFG_GLOBAL }, 524 { "strictmodes", sStrictModes, SSHCFG_GLOBAL },
525 { "permitblacklistedkeys", sDeprecated, SSHCFG_GLOBAL },
525 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL }, 526 { "permitemptypasswords", sEmptyPasswd, SSHCFG_ALL },
526 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL }, 527 { "permituserenvironment", sPermitUserEnvironment, SSHCFG_GLOBAL },
527 { "uselogin", sUseLogin, SSHCFG_GLOBAL }, 528 { "uselogin", sUseLogin, SSHCFG_GLOBAL },