SSH agent (previously working) refusing request on macOS, uninstall-reinstall of 1P, nothing works

Options
colep
colep
Community Member

I cannot get the 1Password SSH agent to work at all. This has been an ongoing problem on one of my Mac machines and I cannot find any reasonable workarounds.

Doing a ssh -Tvvv git@github.com:

debug2: get_agent_identities: ssh_agent_bind_hostkey: agent refused operation
debug1: get_agent_identities: ssh_fetch_identitylist: agent contains no identities

... ssh-add -l:

The agent has no identities.

My ~/.ssh/config:

Host *
  IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"

... I've confirmed that agent.sock exists at that path. I'm using Ed25519 keys, and have confirmed that the public keys are on sourcehut and github respectively, neither works. I've also confirmed that a vanilla ed25519 key successfully auths to GitHub.

I've tried turning the 1p ssh agent off and back on, exiting out of 1Password completely, restarting macOS ssh agent, then starting up again, and completely uninstalling then reinstalling 1Password using AppCleaner. Nothing works.


1Password Version: 1Password for Mac 8.10.7 (81007041)
Extension Version: Not Provided
OS Version: macOS ventura 13.4
Browser:_ Not Provided

Comments

  • What do you get if you run:
    SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock ssh-add -l

This discussion has been closed.