Return to sshconnect2.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.12, 2000/05/31 09:20:38 | version 1.13, 2000/06/02 02:00:19 | ||
---|---|---|---|
|
|
||
char prompt[80]; | char prompt[80]; | ||
char *password; | char *password; | ||
if (attempt++ > options.number_of_password_prompts) | if (attempt++ >= options.number_of_password_prompts) | ||
return 0; | return 0; | ||
if(attempt != 1) | |||
error("Permission denied, please try again."); | |||
snprintf(prompt, sizeof(prompt), "%.30s@%.40s's password: ", | snprintf(prompt, sizeof(prompt), "%.30s@%.40s's password: ", | ||
server_user, host); | server_user, host); |