Displaying 1 result from an estimated 1 matches for "saved_com".
Did you mean:
saved_c
2001 Jan 07
1
[PATCH] Caching passphrase in ssh-add.
...xfree(last_passphrase);
+ }
+ last_passphrase = pass;
+ break;
+ }
memset(pass, 0, strlen(pass));
xfree(pass);
- if (success)
- break;
strlcpy(msg, "Bad passphrase, try again", sizeof msg);
}
- }
+ }
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);
+...