I have been looking far and wide for 2 days for something that can help me with this. I need a way to connect to an ssh server from a Windows 10 Universal app. This means that normal ssh libraries wont work, and tcpclient doesn't exist. How can I do this? Thanks in advance.
According to this GitHub Issue, SSH.NET supports UAP 10/UWP as of SSH.NET 2016.0.0-beta1.
You can download it here: https://www.nuget.org/packages/SSH.NET
Then use it doing something like:
using (var client = new SshClient("hostnameOrIp", "username", "password"))
{
client.Connect();
client.RunCommand("...");
client.Disconnect();
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With