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...
Former Member
4 years agoI have the same issue, but because I'm using multiple SSH keys and I use the IdentityFile
option as mentioned in the advanced config (https://developer.1password.com/docs/ssh/agent/advanced) to select a specific key to each server, I cannot use the snippet mentioned earlier in this thread because that gives me the error from the openssh agent:
Load key "<mykey>.pub": invalid format
Both the IdentityFile
and the IdentityAgent
options support environment variables, so I could create a mapping to set the IdentityFile
for each host using env vars, and set it to an empty string if connecting over SSH, but with more than 50 entries in my ssh config and a separate key for each host, this makes my profile settings and ssh_config overly complex.
Is there anyone that found a better solution to work around this?