0 votes
by (180 points)

Hi Everyone!

I have the ssh command:

ssh -i cert.pub -i private_rsa user@host.net

I'm using Rebex.Net.Ssh and I'd like to know how call Login method with Certificate (cert.pub) and PrivateKey (private_rsa), just like command above.

This is possible?

Best regards!

1 Answer

+1 vote
by (147k points)
selected by
 
Best answer

Is this OpenSSH's 'ssh' command? (If unsure, run "ssh -V" to find out.)

If it is, then it means that the cert.pub file contains an OpenSSH certificate. Unfortunately, Rebex libraries don't support OpenSSH certificates. We support X.509 certificates, but those are not supported by OpenSSH.

by (180 points)
Hi Lukas,

ssh -V
OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
by (147k points)
That means you are actually using OpenSSH's proprietary certificates, which are unfortunately not supported by Rebex components.
...