summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2001-02-10 12:52:02 +0000
committermarkus <markus@openbsd.org>2001-02-10 12:52:02 +0000
commitdb267dc5e60c4ca75a5e743a2c7ad49ff4959102 (patch)
treeb8caa59f0e03211f78cf3f094369d93814545f92
parentdon't call vis() for \r (diff)
downloadwireguard-openbsd-db267dc5e60c4ca75a5e743a2c7ad49ff4959102.tar.xz
wireguard-openbsd-db267dc5e60c4ca75a5e743a2c7ad49ff4959102.zip
offer passwd before s/key
-rw-r--r--usr.bin/ssh/auth2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/auth2.c b/usr.bin/ssh/auth2.c
index af6b58e08b4..6ffdb39afbb 100644
--- a/usr.bin/ssh/auth2.c
+++ b/usr.bin/ssh/auth2.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth2.c,v 1.39 2001/02/08 18:20:01 markus Exp $");
+RCSID("$OpenBSD: auth2.c,v 1.40 2001/02/10 12:52:02 markus Exp $");
#include <openssl/evp.h>
@@ -89,12 +89,12 @@ Authmethod authmethods[] = {
{"publickey",
userauth_pubkey,
&options.pubkey_authentication},
- {"keyboard-interactive",
- userauth_kbdint,
- &options.kbd_interactive_authentication},
{"password",
userauth_passwd,
&options.password_authentication},
+ {"keyboard-interactive",
+ userauth_kbdint,
+ &options.kbd_interactive_authentication},
{NULL, NULL, NULL}
};