version 1.68, 2003/06/16 10:22:45 |
version 1.68.2.1, 2004/02/28 03:51:34 |
|
|
} |
} |
} |
} |
|
|
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)) { |