Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
paspeur
2 years agoNew Contributor
The agent has no identities
I have the 1Password SSH client running and can access the two SSH keys I've stored in 1Password:
% SSH_AUTH_SOCK=~/.1password/agent.sock ssh-add -l
256 SHA256:... (ED25519)
256 SHA256:... (ED...
Michael_Mercuri
2 years agoFrequent Contributor
I'm pretty this is how ssh-add works. It requires SSH_AUTH_SOCK to be set. The ~/.ssh/config file is generally used by the ssh client, but not by other tools such as ssh-add.
See man ssh-add for more details:
The authentication agent must be running and the SSH_AUTH_SOCK environment variable must contain the name of its socket for ssh-add to work.
fwiw, I always set SSH_AUTH_SOCK.