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
Comments
-
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?
0 -
+1 for this one
0 -
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 anssh
command, or using theCertificateFile
configuration option.Let me know if that works or you have any other questions!
0 -
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.0 -
Glad to hear it’s working! Let us know if you run into anything else.
0