Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
2 years agoSSH Keys and CLI
Hi all,
I'm quite new in using 1Password with SSH keys. But I already use the OpenSSH client with macOS and have installed the 1Password client. My SSH keys are stored in the 1Password vault. When I need one for a SSH connection, 1Password pops up and asks for authorisation. So far, so good.
But sometimes I work remotely. This means I use my MAC as a jump host, accessing it using SSH. Now I want to connect from there using SSH. But now I can't use Touch ID authentication.
So how can I get my SSH key with the 1Password CLI client in this situation?
Any help would be appreciated.
ciao
ryder
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser: Not Provided
1 Reply
- Michael_MercuriFrequent Contributor
If you're already using https://developer.1password.com/docs/ssh/agent/ you want to enable https://docs.github.com/en/authentication/connecting-to-github-with-ssh/using-ssh-agent-forwarding (add
ForwardAgent yes
to your~/.ssh/config
). This will allow you to use the 1Password (or any SSH agent) on remote hosts where you're logged in via SSH.