I use ssh-keygen -t rsa to generate my key on my Linux server. I then use:
Dim keyFile = New PrivateKeyFile(File.OpenRead("c:\temp\keyfile"), "phrase")
Using client As New SshClient(strServerIP, 22, strAccount, keyFile)
client.Connect()
I keep getting an error like my password is bad. If I just replace the keyfile and put the password there it works fine. What am I missing to get the private key to work?
Thanks Chad