Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
4 years agosign_and_send_pubkey: signing failed for ED25519 "MyKey" from agent: agent refused operation
I created an ED25519 key to connect with GitHub. It worked once, but every time since I get the following error message:
```
sign_and_send_pubkey: signing failed for ED25519 "MyKey" from agent: agent refused operation
mailto:git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
```
I've rebooted my machine and also deleted/recreated keys, but nothing's worked yet.
1Password Version: 8.8.0
Extension Version: 2.3.7
OS Version: macOs 12.5
Browser:_ Brave
Referrer: forum-search:https://1password.community/search?Search=%22signing%20failed%20for%22%20%22agent%20refused%20operation%22
29 Replies
- Former Member
Same thing just happened to me. Quitting both the app and menubar item was the solution!
- MatiasLGonzalezNew Contributor
@"chris.db_1p" I was using the production version at the time, if I ever have to set it up again on a new machine, I'll make sure to share the logs :)
- Former Member
Confirming this also worked for me:
I was able to solve this issue by completely quitting 1Password (i.e. close it from the menubar not just the app itself) and restarting the macOS ssh agent process. Once I did that the issue went away. I suspect that restarting the macOS ssh agent would have been enough, but I neglected to try only that.
- Former Member
@cornusamomum Although we have fixes for these
agent refused operation
errors the case with clamshell mode may be slightly different, are you still experiencing this behaviour? - Former Member
@luxus @joe232 @kiener @scottymcraig MatiasLGonzalez Glad to see a workaround was found here, however we'd love to know if this behaviour still happen on the latest version of the Production or Beta release channels?
If so, please provide your logs using the instructions https://1password.community/discussion/comment/664635/#Comment_664635 and we'll take a closer look.
- MatiasLGonzalezNew Contributor
I also had to reboot my Windows 11 machine after enabling the 1password agent to stop getting the agent refused error, thanks @kiener
- Former Member
Confirming kiener's solution above works. You cannot just restart the ssh agent - quitting 1password, restarting the agent, and then restarting 1password does work.
- Former Member
I was able to solve this issue by completely quitting 1Password (i.e. close it from the menubar not just the app itself) and restarting the macOS ssh agent process. Once I did that the issue went away. I suspect that restarting the macOS ssh agent would have been enough, but I neglected to try only that.
- Former Member
Same issue, on a fresh install of Ubuntu 22.04. All configured per instructions, to the best of my knowledge.
- Former Member
i have the same issue, and i know for sure that i didn't change anything on my config in the last week