Skip to main content
sukka
October 21, 2023
Question

How do I attach my SSH key item to a Server item in 1Password

  • October 21, 2023
  • 3 replies
  • 148 views

So I have created several SSH keys on 1Password.

Now I am trying to creating a Server item on 1Password, and I want specify this server is using one of SSH keys I stored on 1Password:

How can I do that?


1Password Version: 8.10.16
Extension Version: Not Provided
OS Version: macOS 14.0
Browser: Not Provided

3 replies

sukka
sukkaAuthor
November 6, 2023

Hello, anyone here?

scottaw
December 16, 2023

I don't think you do. I think you create SSH keys in 1P, set 1P as your IdentityAgent (IdentityAgent "~/.1password/agent.sock"), and it cycles through keys and tries them on whatever server you're sshing into.

These means if you have sshd configured to only allow something like 5 tries and you have 15 ssh keys stored in 1P, you might not authenticate, btw.

XIII
December 17, 2023

These means if you have sshd configured to only allow something like 5 tries and you have 15 ssh keys stored in 1P, you might not authenticate

Unless you match the key with a host in your SSH configuration (so not in 1Password itself):

https://developer.1password.com/docs/ssh/agent/advanced#match-key-with-host