Skip to main content
January 25, 2024
Question

SSH Keys and CLI

  • January 25, 2024
  • 1 reply
  • 745 views

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_Mercuri
May 20, 2024

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.