ssh-add no longer accepts passphrase
I am running Debian 12 - Bookworm.
I have been using ssh to login to remote machines for years. Many of which I
use a private key - so I just go "ssh machine-name" and login without needing
to give a password. To be able to do that I identify myself with ssh-add. I
even wrote a tutorial:
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 ?
Any suggestions on how to debug/fix this ?
Thanks in advance.
PS: recent changelog for openssh does not offer a clue:
openssh (1:9.2p1-2+deb12u7) bookworm; urgency=medium
* Handle OpenSSL >=3 ABI compatibility; this helps to avoid new ssh
connections failing during upgrades to trixie (closes: #1110030).
-- Colin Watson <cjwatson@debian.org> Mon, 28 Jul 2025 12:59:40 +0100
--
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: