Forum Discussion

beamer908's avatar
beamer908
New Member
2 hours ago

SSH agent not working from `.ssh/config` in macOS

This worked until recently but I'm no longer able to load identities when using the following in my `.ssh/config` file:

Host *
  IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
$ ssh-add -l
The agent has no identities.

But I can confirm it works fine with:

SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock ssh-add -l

I've double checked the paths and permissions on the .ssh/config file but can't figure this out. Trying to figure out if this is a 1Password issue or an SSH issue. Seems like the latter. Any ideas?

No RepliesBe the first to reply