sshd - Fix default password authentication (2)
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 17 Mar 2017 22:58:23 +0000 (15:58 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 17 Mar 2017 22:58:23 +0000 (15:58 -0700)
* Oops, last commit had to change it in servconf.c, not readconf.c

crypto/openssh/readconf.c
crypto/openssh/servconf.c

index d13c271..c177202 100644 (file)
@@ -1924,7 +1924,7 @@ fill_default_options(Options * options)
        if (options->gss_deleg_creds == -1)
                options->gss_deleg_creds = 0;
        if (options->password_authentication == -1)
-               options->password_authentication = 0;
+               options->password_authentication = 1;
        if (options->kbd_interactive_authentication == -1)
                options->kbd_interactive_authentication = 1;
        if (options->rhosts_rsa_authentication == -1)
index 522f835..722e7f9 100644 (file)
@@ -293,7 +293,7 @@ fill_default_server_options(ServerOptions *options)
        if (options->gss_strict_acceptor == -1)
                options->gss_strict_acceptor = 0;
        if (options->password_authentication == -1)
-               options->password_authentication = 1;
+               options->password_authentication = 0;
        if (options->kbd_interactive_authentication == -1)
                options->kbd_interactive_authentication = 0;
        if (options->challenge_response_authentication == -1)