Niklas Schandry
05/29/2026, 6:45 AMssh -vvv gives me is:
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug3: ssh_get_authentication_socket_path: path '/var/run/com.apple.launchd.hUfVPmkSdT/Listeners'
and then does nothing foreverMatthias De Smet
05/29/2026, 7:14 AMNiklas Schandry
05/29/2026, 7:26 AMMatthias De Smet
05/29/2026, 7:26 AMNiklas Schandry
05/29/2026, 7:26 AMMatthias De Smet
05/29/2026, 7:26 AMPubkeyAcceptedKeyTypes +ssh-rsaNiklas Schandry
05/29/2026, 7:27 AMMatthias De Smet
05/29/2026, 7:27 AMThomas Danhorn
05/29/2026, 7:29 AM-i option, in .ssh/config (not sure if that's the same on a Mac) it is IdentityFile. If you don't and you gave your key a name that differs from the handful standard names it looks for, it will ignore it.Thomas Danhorn
05/29/2026, 7:48 AMssh (OpenSSH_9.2p1 on Debian 12), the setting is called PubkeyAcceptedAlgorithms.Thomas Danhorn
05/29/2026, 7:57 AMPubkeyAcceptedKeyTypes is a deprecated alias.Matthias De Smet
05/29/2026, 7:59 AMMatthias De Smet
05/29/2026, 8:04 AMOpenSSH_10.2p1, LibreSSL 3.3.6Thomas Danhorn
05/29/2026, 8:04 AMssh -Q PubkeyAcceptedAlgorithms gives you the full list of acceptable values. BTW, while ssh-rsa is in that list, it is not in the default list for my system, but several algorithms with rsa in the name are. Not sure if ssh-rsa is an umbrella term for all (or at least several) RSA algorithms.Niklas Schandry
05/29/2026, 9:01 AMPubkeyAcceptedKeyTypes +ssh-rsa or PubkeyAcceptedAlgorithms +ssh-rsa to my config, but the result remains the same. It is also a bit strange, because on my old mbp (which is also on tahoe) it works fine and I am basically using the same .ssh folderNiklas Schandry
05/29/2026, 9:03 AMThomas Danhorn
05/29/2026, 6:28 PMssh -Q PubkeyAcceptedAlgorithms, but the way this looks like to me is that the only real difference is the hardware (and likely the drivers for it), so my hypothesis is that the new hardware changes the result of the decryption with your key, leading to an authentication failure -- seems far-fetched, but consistent with your observations ...
Can you generate a new key with a different algorithm (ed25519 seems to be recommended) and use that on the server?pontus
05/31/2026, 10:28 AMSSH_AUTH_SOCK set? If so, does unsetting/pointing to /dev/null help?
Does ssh-add -L work and list your key?Thomas Danhorn
05/31/2026, 7:17 PMpontus
05/31/2026, 7:36 PMpontus
05/31/2026, 7:38 PMpontus
05/31/2026, 7:39 PMThomas Danhorn
05/31/2026, 7:45 PMssh checks if there is an agent that has the correct password, and if not, it immediately prompts the user for one. My inclination would be to try to get it to work without agent, and once that works, make it work with the agent.Niklas Schandry
06/01/2026, 6:54 AMNiklas Schandry
06/01/2026, 6:57 AMNiklas Schandry
06/01/2026, 7:01 AMpontus
06/01/2026, 7:03 AMpontus
06/01/2026, 7:04 AMNiklas Schandry
06/01/2026, 7:04 AMNiklas Schandry
06/01/2026, 7:05 AMpontus
06/01/2026, 7:05 AMpontus
06/01/2026, 7:05 AMNiklas Schandry
06/01/2026, 7:07 AMpontus
06/01/2026, 7:07 AMeval $(ssh-agent -s) will set you up with a completely different agent than you normally have...Niklas Schandry
06/01/2026, 7:11 AMssh-add -L returns Could not open a connection to your authentication agent.pontus
06/01/2026, 7:12 AMSSH_AUTH_SOCK since it no longer knows where to talk to the agent.Niklas Schandry
06/01/2026, 7:15 AMpontus
06/01/2026, 7:18 AMNiklas Schandry
06/01/2026, 7:27 AMThomas Danhorn
06/01/2026, 6:03 PMssh-agent uses two environment variables so it can be contacted, SSH_AGENT_PID (the process ID), and SSH_AUTH_SOCK (the socket it uses for communication). These get normally set when the agent get started (ssh-agent -s prints the statements setting these variables, and if you wrap that in eval $(...), those statements get executed and the variables set). When the agent dies for whatever reason, the variables remain and make it look like there is still an agent running, which will lead to errors, because the values of these variables are not applicable anymore. Restarting the agent fixes that.pontus
06/01/2026, 6:10 PMThomas Danhorn
06/01/2026, 6:17 PMpontus
06/01/2026, 6:20 PMNiklas Schandry
06/02/2026, 9:12 AM/var/run/com.apple.launchd.hUfVPmkSdT/Listeners , now that it works it is at /Users/<User>/.ssh./agent/<random>Thomas Danhorn
06/02/2026, 2:31 PMNiklas Schandry
06/03/2026, 7:47 AMpontus
06/03/2026, 8:24 AM