Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
kzolnowski
3 years agoOccasional Contributor
ssh-agent stopped working
Hi,
After last nigthly update ssh-agent stopped working with error:
sign_and_send_pubkey: signing failed for ED25519 "SSH key ed25519 private" from agent: agent refused operation
Here's a log:
INFO 2022-05-20T09:38:39.891 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-agent-controller/src/desktop.rs:311] SSH Agent has started.
WARN 2022-05-20T09:42:55.966 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-session-info/src/macos.rs:39] no top level process found, launchd is missing from process tree
WARN 2022-05-20T09:42:55.966 tokio-runtime-worker(ThreadId(16)) [1P:ssh/op-ssh-agent/src/lib.rs:356] Unable to get client_info for pid: 3445
WARN 2022-05-20T09:47:04.442 tokio-runtime-worker(ThreadId(15)) [1P:ssh/op-session-info/src/macos.rs:39] no top level process found, launchd is missing from process tree
WARN 2022-05-20T09:47:04.443 tokio-runtime-worker(ThreadId(15)) [1P:ssh/op-ssh-agent/src/lib.rs:356] Unable to get client_info for pid: 3633
Could you please help me?
1Password Version: 8.8.0 80800101, on NIGHTLY channel
Extension Version: Not Provided
OS Version: macOS 12.3.1
- chris79sNew Contributor
Support ID number:
→ LTY-31416-387 - chris79sNew Contributor
Will do 👍 Thanks!
- Jack_P_1P
1Password Team
Hi chris79s:
The best bet here would be us taking a closer look at your specific setup.I'd like to ask you to create a diagnostics report from your Mac:
Sending Diagnostics Reports (Mac)
Attach the diagnostics to an email message addressed to
support+forum@1password.com
.With your email please include:
- A link to this thread:
https://1password.community/discussion/130082/ssh-agent-stopped-working#latest
- Your forum username:
chris79s
You should receive an automated reply from our BitBot assistant with a Support ID number. Please post that number here. Thanks very much!
I'm still digging into this on my end, I'll be sure to circle back when I know more. Thanks!
Jack
- A link to this thread:
- chris79sNew Contributor
New MacBook Pro M2
- 1Password for Mac 8.10.0 (81000055) (on PRODUCTION channel) (via homebrew)
- macOS 13.2.1 22D68 arm64
- normal, stock Terminal.app
Time Machine restore from an Intel MBPro
$ ssh-add -l
The agent has no identities.
$ ssh -vT git@github.com
[…]
debug1: Will attempt key: ED25519 SHA256:S5[…]8M agent
[…]
debug1: Offering public key: ED25519 SHA256:S5[…]8M agent
[…]
debug1: No more authentication methods to try.
git@github.com: Permission denied (publickey).
ED25519 SHA256:S5[…]8M
key is the correct key- Complete un-install → reboot → re-install is of no use (yes, all files in
~/Library
) - Moved all ssh keys out of and back into "Personal" vault (in personal account)
I've spent hours on this today…
Still not working 😕 going to bed
- ravronNew Contributor
It looks like version 8.10.0 has adjusted the behavior. The release notes say:
The SSH agent will now show an “Unknown app” auth prompt for apps that aren’t supported instead of rejecting the request.
Sure enough, I'm no longer seeing failures when I run my test script. Instead, 1P requests my fingerprint significantly more often. The first time I try to sign a commit in a new shell, the prompt is exactly as before:
But on later commit signatures, when I believe it would have failed prior to version 8.10.0, it now says that "op-ssh-sign" is requesting to do the signature:
This suggests that 1P is still frequently (but not always!) unable to identify the requesting app, but is falling back rather than failing entirely as it would before 8.10.0. This is still a better experience than having >50% of my SSH key operations fail, but it does mean I have to authenticate way too often. Unfortunately, now that the SSH operations don't fail entirely, running test scripts to keep trying to track down the issue is marginally more annoying.
I'm not sure if you all do this sort of thing, but feel free to contact me privately if an engineer over there would be willing to investigate this live with me.
- Former Member
Okay, found workaround; seems that something in a recent beta changed for the SSH agent somewhat significantly; different UI elements from the previous versions as well. Shut system down, restarted, still had error, but, found that for some reason the update disabled my Apple Watch, so, the error about refusing operation was really about not having a biometric device connected (looked in Console logs).
- Former Member
1P was working fine on my MacPro until a recent restart, which also installed a new Beta of 1Password (not Ventura).
sign_and_send_pubkey: signing failed for ED25519 "whatever" from agent: agent refused operationUsing:
1Password for Mac 8.10.0 (81000032)I'm being forced onto "Nightly" version, for whatever reason (not by choice, tried Production, rebooting, etc, but, I keep being forced into Nightly).
Tried with Apple Terminal, as well as Warp terminal. Prefer Warp.
Worked this morning, now all ssh is broken for authentication whilst I undo the use of 1P.
- Jack_P_1P
1Password Team
Thanks folks!
- Former Member
Same. :)
[#KIL-32375-262]
- Former Member
Done, the support ID is [#MWS-48134-783]. Thank you!