Re: ssh-add no longer accepts passphrase
On Tue, Aug 05, 2025 at 10:01:03AM -0400, Dan Purgert wrote:
> Make sure it's actually the right passphrase (e.g. in nano). I've hit
> the keyboard / language input switch before (I have / had multiple input
> languages in the past); and a side effect is that the special characters
> move; and I'm not typing in what I think I'm typing in.
I am sure ... I ran it under strace and can see it reading the correct
characters.
> If that checks out, you can test the passphrase with 'ssh-keygen -yf
> PRIVKEY' .
That does not work:
~/.ssh$ ssh-keygen -y -f id_dsa
Enter passphrase:
Load key "id_dsa": incorrect passphrase supplied to decrypt private key
Same for id_rsa.
My passphrase is > 30 & < 40 characters long, upper/lower roman alphabetic +
spaces.
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256 https://www.phcomp.co.uk/
Parliament Hill Computers. Registration Information: https://www.phcomp.co.uk/Contact.html
#include <std_disclaimer.h>
Reply to: