version 1.125, 2013/05/19 02:42:42 |
version 1.126, 2013/06/21 00:34:49 |
|
|
case MM_USERKEY: |
case MM_USERKEY: |
allowed = options.pubkey_authentication && |
allowed = options.pubkey_authentication && |
user_key_allowed(authctxt->pw, key); |
user_key_allowed(authctxt->pw, key); |
pubkey_auth_info(authctxt, key); |
pubkey_auth_info(authctxt, key, NULL); |
auth_method = "publickey"; |
auth_method = "publickey"; |
if (options.pubkey_authentication && allowed != 1) |
if (options.pubkey_authentication && allowed != 1) |
auth_clear_options(); |
auth_clear_options(); |
|
|
allowed = options.hostbased_authentication && |
allowed = options.hostbased_authentication && |
hostbased_key_allowed(authctxt->pw, |
hostbased_key_allowed(authctxt->pw, |
cuser, chost, key); |
cuser, chost, key); |
|
pubkey_auth_info(authctxt, key, |
|
"client user \"%.100s\", client host \"%.100s\"", |
|
cuser, chost); |
auth_method = "hostbased"; |
auth_method = "hostbased"; |
break; |
break; |
case MM_RSAHOSTKEY: |
case MM_RSAHOSTKEY: |