[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh-add no longer accepts passphrase



On Aug 05, 2025, Alain D D Williams wrote:
> I am running Debian 12 - Bookworm.
> [...]
> So: After reboot (logging in again) I needed to re-identify myself and
> used ssh-add as usual.
> 
> It tells me: Bad passphrase, try again for /home/addw/.ssh/id_rsa:
> 
> I tried many times, I know that I am entering the correct pass phrase.
> I have not changed anything in ~/.ssh/ for 6 months.
> /home/addw/.ssh/id_rsa was changed in 2020. I do have ssh-agent
> running.

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.

If that checks out, you can test the passphrase with 'ssh-keygen -yf
PRIVKEY' .  

-- 
|_|O|_| 
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1  E067 6D65 70E5 4CE7 2860

Attachment: signature.asc
Description: PGP signature


Reply to: