Displaying 2 results from an estimated 2 matches for "ssh_add_identity".
2001 Jan 07
1
[PATCH] Caching passphrase in ssh-add.
...0, strlen(last_passphrase));
+ 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)
+ de...
2009 Jun 20
7
[Bug 1612] New: ssh-add should not discard constraints if the agent fails to implement them
https://bugzilla.mindrot.org/show_bug.cgi?id=1612
Summary: ssh-add should not discard constraints if the agent
fails to implement them
Product: Portable OpenSSH
Version: 5.2p1
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ssh-add