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

New Post: PrivateKeyAuthentication from Stream

$
0
0
Right, this lib just handles Filepaths/Filestreams.
Your Use-Case is... let's call it... interesting ;)

It's not the object you are passing, thats a string, nothing special about it.
But it's an URL File.Open() cannot handle.

You have to get the file/filestream/datastream on your own to your system.

E.g.: http://stackoverflow.com/questions/3460503/how-to-read-a-file-from-a-uri-using-streamreader

See Source:
https://sshnet.codeplex.com/SourceControl/latest#Renci.SshClient/Renci.SshNet/PrivateKeyFile.cs

And recommended for reading:
https://sshnet.codeplex.com/documentation

Viewing all articles
Browse latest Browse all 1729

Trending Articles



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