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

wavesound's avatar
wavesound
Frequent Contributor
3 years ago

SSH Agent Not Working on macOS 12.4

After following this guide: https://developer.1password.com/docs/ssh/get-started , I enabled the SSH Agent on mac0S and I added the agent config to ~/.ssh/config as prescribed in Step 4 and verified that everything was enabled as prescribed in Step 3:

However, I'm not able to authenticate. When I go to SSH, I get the following error:

```
user@computer Downloads % ssh user@server -L 2244:localhost:2244
sign_and_send_pubkey: signing failed for RSA "id_rsa_key1" from agent: agent refused operation
user@server: Permission denied (publickey).

```
When I run that, I get a prompt to use TouchID and then I get the failure message shown above.

I checked the key and confirmed that its RSA:


user@computer Downloads % ssh-keygen -l -f id_rsa_key1.key
4096 SHA256:********** no comment (RSA)

I also checked for identities and get nothing:


user@computer Downloads % ssh-add -l
The agent has no identities

Any idea what I'm doing wrong?


1Password Version: 8.7.1
Extension Version: Not Provided
OS Version: macOS 12.4