Skip to main content
Aug 16, 2022 9:22 AM UTC
Question

Support for SSH certificates in the 1Password SSH agent

I tried using a SSH certificate (not SSH key) with 1Password on Windows, but authentication did not succeed on the server (too many failures). I imported my private key and then tried to authenticate, which failed. Am I doing something wrong or does 1Password currently not support the use of SSH certificates?


1Password Version: 8.9.0(80900001)
Extension Version: Not Provided
OS Version: Not Provided
Browser:_ Not Provided

5 replies

Aug 18, 2022 3:15 PM UTC

I just updated to 1Password 8 and I'm wondering the same thing. If not supported, can we submit a vote for this feature to be added?

Oct 5, 2022 6:10 PM UTC

+1 for this one

Oct 27, 2022 2:19 PM UTC

Hello, and thank you for your question!

SSH agents are only ever aware of the private key. This means that they never touch the public key, or certificate.
The good news is that means your certificates should work just fine! The private key needs to be loaded into 1Password, but the certifcate can sit on your filesystem in the usual place.

Depending on the name of your certificate file, you may need to specify the certificate path. Either with the -i flag to an ssh command, or using the CertificateFile configuration option.

Let me know if that works or you have any other questions!

Nov 2, 2022 2:19 PM UTC

Hi @"brian.f_1P"
thank you for the pointer, I almost had it right ;). In my ssh config, I had used the "IdentityFile" parameter with my private key, where I should instead have used "CertificateFile" with the certificate.pub. Now it's working.

Nov 4, 2022 12:19 PM UTC

Glad to hear it’s working! Let us know if you run into anything else.