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

Re: ssh-add no longer accepts passphrase



Alain D D Williams wrote: 
> I am running Debian 12 - Bookworm.
> 
> https://www.phcomp.co.uk/Tutorials/Unix-And-Linux/ssh-passwordless-login.html
> 
> I have disk hardware problems, I decided to reboot (first time in ~2 months) to
> see if this would fix it (no it did not - I will buy a new one later). This
> disk failure would not have affected the ssh problem.
> 
> 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.
> 
> I note that /usr/bin/ssh-add was updated on 28 July - a week ago.
> 
> Has anyone else had problems ?

My openssh-client is 
Version: 1:9.2p1-2+deb12u7

ssh-add works properly for me:

$ ssh-add 
Enter passphrase for /home/dsr/.ssh/id_rsa:
Identity added: /home/dsr/.ssh/id_rsa (/home/dsr/.ssh/id_rsa)
Enter passphrase for /home/dsr/.ssh/id_ed25519:
Identity added: /home/dsr/.ssh/id_ed25519 (dsr@newtao)

Are you certain that the disk failure could not be responsible?

-dsr-


Reply to: