I’m trying to code in VB.NET both a password & public key authentication for login into a SFTP server.
I tried following this example, but it did not work. My public key is encrypted from the customer.
It seems this example uses a private key, which I do not have, so I’m confused on how to do it.
https://www.example-code.com/vbnet/sftp_pubkeyAuthentication.asp
How do I accomplish this task?