Skip to main content
April 7, 2026
Question

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

  • April 7, 2026
  • 2 replies
  • 107 views

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?

2 replies

beamer908Author
April 13, 2026

Hmm, before today I wasn't able to use the actual keys with just the IdentityAgent configuration but now I am. It correctly prompts for key use in 1Password. However, without the `SSH_AUTH_SOCK`, I'm not able to see the identities. Is it always required to use the `SSH_AUTH_SOCK` for  `ssh-add -l` to work? I don't remember using t hat variable in the past.

1Password Employee
April 13, 2026

Hey Beamer908! Apologies for the delayed response here. Let me ask around internally and get you an answer :)

beamer908Author
April 14, 2026

Thanks and happy to file a support ticket if easier as we're a Business or Teams customer.