version 1.66.2.1, 2003/09/16 20:50:43 |
version 1.66.2.2, 2004/03/04 18:18:16 |
|
|
} |
} |
} |
} |
|
|
if (ssh_add_identity_constrained(ac, private, comment, lifetime, |
if (ssh_add_identity_constrained(ac, private, comment, lifetime, |
confirm)) { |
confirm)) { |
fprintf(stderr, "Identity added: %s (%s)\n", filename, comment); |
fprintf(stderr, "Identity added: %s (%s)\n", filename, comment); |
ret = 0; |
ret = 0; |
if (lifetime != 0) |
if (lifetime != 0) |
fprintf(stderr, |
fprintf(stderr, |
"Lifetime set to %d seconds\n", lifetime); |
"Lifetime set to %d seconds\n", lifetime); |
if (confirm != 0) |
if (confirm != 0) |
fprintf(stderr, |
fprintf(stderr, |
"The user has to confirm each use of the key\n"); |
"The user has to confirm each use of the key\n"); |
} else if (ssh_add_identity(ac, private, comment)) { |
} else if (ssh_add_identity(ac, private, comment)) { |