SSH.NET Authenticate via private key only (public key authentication)

前端 未结 3 1369
情话喂你
情话喂你 2021-01-05 08:41

Attempting to authenticate via username and privatekey only using the current SSH.NET library. I cannot get the password from the user so this is out of the question.

3条回答
  •  天命终不由人
    2021-01-05 09:36

    to perform private key authentication, you will also need the passphrase, which together with the private key, will allow authentication.
    What is really needed is for RenciSSH to get with the times and write a publickeyauthentication method.

提交回复
热议问题