Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 ssh 命令:
$ssh -i cert.pub -i private_rsa user@host.net
我正在使用 Rebex.Net.Ssh,我想知道如何使用证书 (cert.pub) 和 PrivateKey (private_rsa) 调用登录方法,就像上面的命令一样。
这个有可能?
我目前有这个代码:
ssh.Login(userName, password, new SshPrivateKey(keyPath, keyPassphase))
此致!