9fe1afc
diff -up openssh-6.1p1/servconf.c.required-authentication openssh-6.1p1/servconf.c
fe661c5
--- openssh-6.1p1/servconf.c.required-authentication	2012-11-30 21:13:14.375382453 +0100
fe661c5
+++ openssh-6.1p1/servconf.c	2012-11-30 21:33:56.972017545 +0100
fe661c5
@@ -495,6 +495,8 @@ static struct {
fe661c5
 	{ "authorizedkeyscommandrunas", sAuthorizedKeysCommandUser, SSHCFG_ALL },
fe661c5
 	{ "authorizedkeyscommanduser", sAuthorizedKeysCommandUser, SSHCFG_ALL },
fe661c5
 	{ "authenticationmethods", sAuthenticationMethods, SSHCFG_ALL },
fe661c5
+	{ "requiredauthentications1", sAuthenticationMethods, SSHCFG_ALL },
fe661c5
+	{ "requiredauthentications2", sAuthenticationMethods, SSHCFG_ALL },
d9e6186
 	{ NULL, sBadOption, 0 }
fe661c5
 };
fe661c5
 
fe661c5
@@ -1560,6 +1562,9 @@ process_server_config_line(ServerOptions
fe661c5
 		return 0;
fe661c5
 
fe661c5
 	case sAuthenticationMethods:
fe661c5
+		if (strncasecmp(arg, "requiredauthentications", 23) == 0)
fe661c5
+			logit("%s line %d: Option %s is obsolete. Please use AuthenticationMethods",
fe661c5
+			    filename, linenum, arg);
fe661c5
 		if (*activep && options->num_auth_methods == 0) {
fe661c5
 			while ((arg = strdelim(&cp)) && *arg != '\0') {
fe661c5
 				if (options->num_auth_methods >=