version 1.80, 2001/06/26 20:14:11 |
version 1.81, 2001/07/23 09:06:28 |
|
|
static char *authmethods_get(void); |
static char *authmethods_get(void); |
|
|
Authmethod authmethods[] = { |
Authmethod authmethods[] = { |
{"publickey", |
|
userauth_pubkey, |
|
&options.pubkey_authentication, |
|
NULL}, |
|
{"hostbased", |
{"hostbased", |
userauth_hostbased, |
userauth_hostbased, |
&options.hostbased_authentication, |
&options.hostbased_authentication, |
NULL}, |
NULL}, |
{"password", |
{"publickey", |
userauth_passwd, |
userauth_pubkey, |
&options.password_authentication, |
&options.pubkey_authentication, |
&options.batch_mode}, |
NULL}, |
{"keyboard-interactive", |
{"keyboard-interactive", |
userauth_kbdint, |
userauth_kbdint, |
&options.kbd_interactive_authentication, |
&options.kbd_interactive_authentication, |
|
&options.batch_mode}, |
|
{"password", |
|
userauth_passwd, |
|
&options.password_authentication, |
&options.batch_mode}, |
&options.batch_mode}, |
{"none", |
{"none", |
userauth_none, |
userauth_none, |