version 1.86, 2001/12/05 03:56:39 |
version 1.87, 2001/12/05 10:06:13 |
|
|
} |
} |
sent = sign_and_send_pubkey(authctxt, key, |
sent = sign_and_send_pubkey(authctxt, key, |
authctxt->last_key_sign); |
authctxt->last_key_sign); |
} while(0); |
} while (0); |
|
|
if (key != NULL) |
if (key != NULL) |
key_free(key); |
key_free(key); |
|
|
if (attempt++ >= options.number_of_password_prompts) |
if (attempt++ >= options.number_of_password_prompts) |
return 0; |
return 0; |
|
|
if(attempt != 1) |
if (attempt != 1) |
error("Permission denied, please try again."); |
error("Permission denied, please try again."); |
|
|
snprintf(prompt, sizeof(prompt), "%.30s@%.128s's password: ", |
snprintf(prompt, sizeof(prompt), "%.30s@%.128s's password: ", |
|
|
if (authctxt->agent != NULL) { |
if (authctxt->agent != NULL) { |
do { |
do { |
sent = userauth_pubkey_agent(authctxt); |
sent = userauth_pubkey_agent(authctxt); |
} while(!sent && authctxt->agent->howmany > 0); |
} while (!sent && authctxt->agent->howmany > 0); |
} |
} |
while (!sent && idx < options.num_identity_files) { |
while (!sent && idx < options.num_identity_files) { |
key = options.identity_keys[idx]; |
key = options.identity_keys[idx]; |