Skip to main content
sukka
Oct 21, 2023 9:08 AM UTC
Question

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

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
Nov 6, 2023 1:59 PM UTC

Hello, anyone here?

scottaw
Dec 16, 2023 11:08 PM UTC

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
Dec 17, 2023 9:09 AM UTC

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