(Same) SSH key only working once (per 1Password session?)
I have one (ed25519) SSH key that I use to log in to multiple devices. This used to work fine, but as of today only the first login succeeds. When I try to log in to a second or third machine I get this error:
Load key "/Users/me/.ssh/ed25519.pub": invalid format me@domain.com: Permission denied (publickey).
Coincidentally 1Password then auto-updated. Now I could log in to the second machine using the same key, but not the third.
So it looks like that a SSH key is now only working once per 1Password session?
1Password Version: 80600066 (Nightly)
Extension Version: n/a
OS Version: macOS Monterey 12.2.1
Comments
-
Additionally I see this:
➜ ssh-add -l Error connecting to agent: Connection refused
with this setup:
➜ echo $SSH_AUTH_SOCK /Users/me/.ssh/.1password/agent.sock
0 -
Not solved in 80600067.
This is super annoying: I can use a single key, once, until I reboot my Mac...
0 -
Could you share your verbose
ssh
output? And when running an SSH command, do you see anything appear in the logs?~/Library/Group\ Containers/2BUA8C4S2C.com.1password/Library/Application\ Support/1Password/Data/logs/1Password_rCURRENT.log
0 -
No logs for failed attempts.
Verbose output:
debug1: Next authentication method: publickey debug1: Offering public key: /Users/me/.ssh/key.pub ED25519 SHA256:<hash> explicit debug3: send packet: type 50 debug2: we sent a publickey packet, wait for reply debug3: receive packet: type 60 debug1: Server accepts key: /Users/me/.ssh/key.pub ED25519 SHA256:<hash> explicit debug3: sign_and_send_pubkey: ED25519 SHA256:<hash> debug3: sign_and_send_pubkey: signing using ssh-ed25519 SHA256:<hash> Load key "/Users/me/.ssh/key.pub": invalid format debug2: we did not send a packet, disable method debug1: No more authentication methods to try.
0 -
We've received another very similar report today about that nightly, we're investigating the issue. In the mean time, you can consider switching back to the beta channel, by downloading the beta installer.
0 -
OK, will try that.
0 -
Solved in 80600071 Nightly. Thanks!
0