bugzilla-daemon at mindrot.org
2002-Nov-11 17:41 UTC
[Bug 434] New: ssh-add doesn't always add all identities to ssh-agent
http://bugzilla.mindrot.org/show_bug.cgi?id=434 Summary: ssh-add doesn't always add all identities to ssh-agent Product: Portable OpenSSH Version: older versions Platform: ix86 OS/Version: Linux Status: NEW Severity: minor Priority: P2 Component: ssh-add AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: worley at theworld.com RedHat package: openssh-clients-3.1p1-5 OpenSSH version (as reported by ssh -v): OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090600f Symptom: When using ssh-add to add identities to the ssh-agent, and when using it as an X windows application, ssh-add acts incorrectly when a bad passphrase is entered initially: ssh-add correctly reports that the passphrase is bad and then correctly prompts for the passphrase again. But when I then enter the correct password, only one of my two identities is added to the ssh-agent, as is attested by ssh-add -l afterward. My configuration: My two identies are stored in ~/.ssh/id_rsa and ~/.ssh/id_dsa, and both use the same passphrase. When I initially enter a bad passphrase, only id_dsa is added to the ssh-agent. When I enter the correct passphrase the first time, both ~/.ssh/id_dsa and ~/.ssh/id_rsa are added (in that order, if that makes any difference). Workaround: In many cases the user can work around this problem by aborting ssh-add, then restarting it and entering the correct password the first time. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.