Level up your business security with free, on-demand training and certification. Explore 1Password Academy today →
Forum Discussion
beamer908
1 month agoNew Contributor
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 -lI'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?
4 Replies
- emilysmith
1Password Team
Hey Beamer908! Apologies for the delayed response here. Let me ask around internally and get you an answer :)
- beamer908New Contributor
Any news emilysmith
- beamer908New Contributor
Thanks and happy to file a support ticket if easier as we're a Business or Teams customer.
- beamer908New Contributor
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.