diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-05 19:37:25 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-05 19:37:25 +0000 |
commit | 1bfe29151b064d3e1f56c4c45b7f5b74369fcc37 (patch) | |
tree | 47e96d7fb67dce7e4b9e517fb2b7d7529756cabd /sshconnect2.c | |
parent | 608d1d1f9b4e1531cd1124dc0df4d38fa56a0712 (diff) |
- markus@cvs.openbsd.org 2001/05/19 16:32:16
[ssh.1 sshconnect2.c]
change preferredauthentication order to
publickey,hostbased,password,keyboard-interactive
document that hostbased defaults to no, document order
Diffstat (limited to 'sshconnect2.c')
-rw-r--r-- | sshconnect2.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sshconnect2.c b/sshconnect2.c index 75bd53d08..5b354010d 100644 --- a/sshconnect2.c +++ b/sshconnect2.c | |||
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: sshconnect2.c,v 1.73 2001/05/18 14:13:29 markus Exp $"); | 26 | RCSID("$OpenBSD: sshconnect2.c,v 1.74 2001/05/19 16:32:16 markus Exp $"); |
27 | 27 | ||
28 | #include <openssl/bn.h> | 28 | #include <openssl/bn.h> |
29 | #include <openssl/md5.h> | 29 | #include <openssl/md5.h> |
@@ -202,6 +202,10 @@ Authmethod authmethods[] = { | |||
202 | userauth_pubkey, | 202 | userauth_pubkey, |
203 | &options.pubkey_authentication, | 203 | &options.pubkey_authentication, |
204 | NULL}, | 204 | NULL}, |
205 | {"hostbased", | ||
206 | userauth_hostbased, | ||
207 | &options.hostbased_authentication, | ||
208 | NULL}, | ||
205 | {"password", | 209 | {"password", |
206 | userauth_passwd, | 210 | userauth_passwd, |
207 | &options.password_authentication, | 211 | &options.password_authentication, |
@@ -210,10 +214,6 @@ Authmethod authmethods[] = { | |||
210 | userauth_kbdint, | 214 | userauth_kbdint, |
211 | &options.kbd_interactive_authentication, | 215 | &options.kbd_interactive_authentication, |
212 | &options.batch_mode}, | 216 | &options.batch_mode}, |
213 | {"hostbased", | ||
214 | userauth_hostbased, | ||
215 | &options.hostbased_authentication, | ||
216 | NULL}, | ||
217 | {"none", | 217 | {"none", |
218 | userauth_none, | 218 | userauth_none, |
219 | NULL, | 219 | NULL, |