Forum Discussion

gmcluhan's avatar
gmcluhan
New Contributor
4 years ago

agent refused operation error on macOS

Hi there,

Just installed 1Password8 beta and setup an SSH key for internal company GitHub and I keep getting this error:
```
graham@Grahams-MBP dmautomationlib % git pull
sign_and_send_pubkey: signing failed for ED25519 "My SSH Key" from agent: agent refused operation
mailto:git@github.mycompany.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
```
Here's the error I see in the 1Password_rCURRENT.log


WARN 2022-03-22T11:43:47.081 tokio-runtime-worker(ThreadId(1)) [1P:foundation/op-sys-info/src/process_information/macos/non_app_store.rs:195] failed to get parent process of 1
WARN 2022-03-22T11:43:47.081 tokio-runtime-worker(ThreadId(1)) [1P:foundation/op-sys-info/src/process_information/macos/non_app_store.rs:81] failed to find toplevel parent
WARN 2022-03-22T11:43:47.081 tokio-runtime-worker(ThreadId(1)) [1P:ssh/op-ssh-agent/src/lib.rs:330] Unable to get client_info for pid: 2224


1Password Version: 80700012
Extension Version: 2.3.1
OS Version: macOS 12.3

11 Replies

  • gmcluhan's avatar
    gmcluhan
    New Contributor

    One other interesting thing is that when I run ssh-add -l I get no keys back, but if I first run export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock then I get the keys back but it still fails.