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

sukka
sukka
Community Member

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

Comments

  • sukka
    sukka
    Community Member

    Hello, anyone here?

  • scottaw
    scottaw
    Community Member

    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
    XIII
    Community Member
    edited December 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

This discussion has been closed.