Use SSH.NET in Unity

Im trying to import that library: GitHub - sshnet/SSH.NET: SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism. but I can’t make it run on Unity. I’m using Unity 5.5.0b7 (64-bit).

You have to use the .net 3.5 instead of 4.0.

Hello,

I tested this on my (latest) Unity version (Unity 2018.2.12f1 (64-bit)) on Windows 10 64-bit with Visual Studio 2017.

My Unity project settings are: Scripting Runtime Environment 3.5 (API compatibility level 2.0) with Scripting Backend Mono.

I had to import the SSH.NET DLL (Net3.5 can be found on Github under the Releases section) to the Assets folder. Besides this I did not import the DLL with Visual Studio. It seemed enough to put it in the Assets folder.

Hope this helps somebody,
best,
SG