Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
4 years agoSSH Agent Forwarding
I'm really enjoying using 1Password as a ssh-agent with biometric unlock. I'm wondering if it's possible forward the SSH agent though.
Scenario:
I have two macs with 1Password setup with biomet...
Michael_Mercuri
4 years agoFrequent Contributor
Today, I realized a shortcoming of the solution I posted https://1password.community/discussion/comment/644548/#Comment_644548. It doesn't work when calling ssh from non-interactive terminal sessions such as iTerm Profiles or other apps not launched from the terminal. In these cases, SSH_AUTH_SOCK
is not set and 1Password is not used as the SSH Agent.
The ideal solution would be if OpenSSH had a way to configure multiple SSH Agents to use in priority order, but I'm not aware such a thing exists.
For the basic case of SSH Agent forwarding as asked by the OP, the solution I proposed works well for me.