]> andersk Git - openssh.git/commitdiff
- markus@cvs.openbsd.org 2001/07/23 09:06:28
authormouring <mouring>
Mon, 6 Aug 2001 20:57:11 +0000 (20:57 +0000)
committermouring <mouring>
Mon, 6 Aug 2001 20:57:11 +0000 (20:57 +0000)
     [sshconnect2.c]
     reorder default sequence of userauth methods to match ssh behaviour:
     hostbased,publickey,keyboard-interactive,password

ChangeLog
sshconnect2.c

index 2a3824c451d44f9ca6440931240549bb49ef5607..c85b44fa8b089a771d9009a9a270328195ee7cf5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
    - markus@cvs.openbsd.org 2001/07/22 22:24:16
      [sshd.8]
      Xr login.conf
+   - markus@cvs.openbsd.org 2001/07/23 09:06:28
+     [sshconnect2.c]
+     reorder default sequence of userauth methods to match ssh behaviour:
+     hostbased,publickey,keyboard-interactive,password
 
 20010803
  - (djm) Fix interrupted read in entropy gatherer. Spotted by markus@ on
index 2e2452801c6ff9a9eb58ac2848de1755c15d8d0d..a86d0036b70734ec7a3e491d5b89616ea4cf9a60 100644 (file)
@@ -23,7 +23,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: sshconnect2.c,v 1.80 2001/06/26 20:14:11 markus Exp $");
+RCSID("$OpenBSD: sshconnect2.c,v 1.81 2001/07/23 09:06:28 markus Exp $");
 
 #include <openssl/bn.h>
 #include <openssl/md5.h>
@@ -195,22 +195,22 @@ static Authmethod *authmethod_lookup(const char *name);
 static char *authmethods_get(void);
 
 Authmethod authmethods[] = {
-       {"publickey",
-               userauth_pubkey,
-               &options.pubkey_authentication,
-               NULL},
        {"hostbased",
                userauth_hostbased,
                &options.hostbased_authentication,
                NULL},
-       {"password",
-               userauth_passwd,
-               &options.password_authentication,
-               &options.batch_mode},
+       {"publickey",
+               userauth_pubkey,
+               &options.pubkey_authentication,
+               NULL},
        {"keyboard-interactive",
                userauth_kbdint,
                &options.kbd_interactive_authentication,
                &options.batch_mode},
+       {"password",
+               userauth_passwd,
+               &options.password_authentication,
+               &options.batch_mode},
        {"none",
                userauth_none,
                NULL,
This page took 0.068145 seconds and 5 git commands to generate.