version 1.17, 1999/10/14 18:17:42 |
version 1.18, 1999/10/14 20:03:44 |
|
|
if (options->cipher == SSH_CIPHER_NONE) |
if (options->cipher == SSH_CIPHER_NONE) |
log("WARNING: Encryption is disabled! Password will be transmitted in clear text."); |
log("WARNING: Encryption is disabled! Password will be transmitted in clear text."); |
for (i = 0; i < options->number_of_password_prompts; i++) { |
for (i = 0; i < options->number_of_password_prompts; i++) { |
|
if (i != 0) |
|
error("Permission denied, please try again."); |
password = read_passphrase(prompt, 0); |
password = read_passphrase(prompt, 0); |
packet_start(SSH_CMSG_AUTH_PASSWORD); |
packet_start(SSH_CMSG_AUTH_PASSWORD); |
packet_put_string(password, strlen(password)); |
packet_put_string(password, strlen(password)); |