Reputation: 193
I have the ssh command:
$ssh -i cert.pub -i private_rsa [email protected]
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?
I currently have this code:
ssh.Login(userName, password, new SshPrivateKey(keyPath, keyPassphase))
Best regards!
Upvotes: 0
Views: 381