search for: ssh_client_id_dsa

Displaying 1 result from an estimated 1 matches for "ssh_client_id_dsa".

2001 Jan 07
1
[PATCH] Caching passphrase in ssh-add.
...} xfree(comment); if (ssh_add_identity(ac, private, saved_comment)) fprintf(stderr, "Identity added: %s (%s)\n", filename, saved_comment); @@ -296,6 +308,16 @@ delete_file(ac, buf); else add_file(ac, buf); + + snprintf(buf, sizeof buf, "%s/%s", pw->pw_dir, SSH_CLIENT_ID_DSA); + if (deleting) + delete_file(ac, buf); + else + add_file(ac, buf); + } + if (last_passphrase) { + memset(last_passphrase, 0, strlen(last_passphrase)); + xfree(last_passphrase); } ssh_close_authentication_connection(ac); exit(0); -- dwmw2