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

Former Member's avatar
Former Member
3 years ago

Error connecting to agent: No such file or directory

I just saw the post & beta for SSH + CLI integration and this seems amazing. +1 Cant wait for the final release.

However, I'm unable to get this working at all.
* I also use a shell called fishshell for what it's worth. (fish, version 3.3.1, but I do not believe this is part of the issue, as I swapped to bash too, and experience the same issue)
* I have installed OpenSSH (OpenSSH_8.6p1)
* 1P CLI is on version 2.0.0

I've run both the "configuration" commands per the docs.

I've created the symlink using

mkdir -p ~/.1password && ln -s ~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock ~/.1password/agent.sock

...and added the additional line to the ssh config

Host *
IdentityAgent "~/.1password/agent.sock"
IdentitiesOnly yes

I also added the SSH_AUTH_SOCK to my profile, even tried the global config from here

I've check that I have all the requirements.
* Private vault
* New Key generated via 1Password
* Not archived

But when I run

ssh-add -l

I keep getting a response of Error connecting to agent: No such file or directory, and also any github cli interactions refuses to connect, but I believe its all caused by one in the same issue

Any ideas of what I might be missing?


1Password Version: 8.6.0
Extension Version: Not Provided
OS Version: 12.2.1 (21D62)
Referrer: forum-search:ssh