Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: Help with private key

$
0
0

Sorry, can't get the private key to work with or without a phrase. If I just enter the password in plain text, it works fine.

Using client As New SshClient(strServerIP, 22, strAccount, "mypassword") 'this works

It's looks like I do generate a valid key on my server. The code errors out on the client.Connect() command. It shows an error telling me "User cannot be authenticated" when I try to use a private key.


Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>