diff options
| author | 2001-05-19 16:32:16 +0000 | |
|---|---|---|
| committer | 2001-05-19 16:32:16 +0000 | |
| commit | 5d45c05ffebcc4651289bc95e48c8612c55a1898 (patch) | |
| tree | fe740d6ccda5f1f954bb5fa5e37dda7a33d0160d /usr.bin/ssh/sshconnect2.c | |
| parent | sort options; Matthew.Stier@fnc.fujitsu.com (diff) | |
| download | wireguard-openbsd-5d45c05ffebcc4651289bc95e48c8612c55a1898.tar.xz wireguard-openbsd-5d45c05ffebcc4651289bc95e48c8612c55a1898.zip | |
change preferredauthentication order to
publickey,hostbased,password,keyboard-interactive
document that hostbased defaults to no, document order
Diffstat (limited to 'usr.bin/ssh/sshconnect2.c')
| -rw-r--r-- | usr.bin/ssh/sshconnect2.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/ssh/sshconnect2.c b/usr.bin/ssh/sshconnect2.c index 75bd53d0877..5b354010d25 100644 --- a/usr.bin/ssh/sshconnect2.c +++ b/usr.bin/ssh/sshconnect2.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshconnect2.c,v 1.73 2001/05/18 14:13:29 markus Exp $"); +RCSID("$OpenBSD: sshconnect2.c,v 1.74 2001/05/19 16:32:16 markus Exp $"); #include <openssl/bn.h> #include <openssl/md5.h> @@ -202,6 +202,10 @@ Authmethod authmethods[] = { userauth_pubkey, &options.pubkey_authentication, NULL}, + {"hostbased", + userauth_hostbased, + &options.hostbased_authentication, + NULL}, {"password", userauth_passwd, &options.password_authentication, @@ -210,10 +214,6 @@ Authmethod authmethods[] = { userauth_kbdint, &options.kbd_interactive_authentication, &options.batch_mode}, - {"hostbased", - userauth_hostbased, - &options.hostbased_authentication, - NULL}, {"none", userauth_none, NULL, |
