0

I am following one the examples from a search of ssh.net examples. This example uses public/private keys. I have a general understanding, however the example has a .pem extension on the private key file. Mine is ppk When I run the code it get the error Invalid private key file. I can use this same key with putty and am able to logon with no issues.

Is there something I need to change to support the same key putty uses?

Thanks

Mike Winn
  • 21
  • 5
  • Does this answer your question? [Authentication with PPK key in SSH.NET](https://stackoverflow.com/questions/43176931/authentication-with-ppk-key-in-ssh-net) – Martin Prikryl May 03 '21 at 05:57

1 Answers1

-1

you have to convert the ppk to pem using puttygen.