I new in programming I am trying to execute some Linux command from c# dotnet via SSH
While searching on the internet I found following code to connect to Linux via ssh
SshClient cSSH = new SshClient("192.168.10.144", 22, "root", "pacaritambo");
cSSH.Connect();
SshCommand x = cSSH.RunCommand("start");
cSSH.Disconnect();
cSSH.Dispose();
but in my code getting an error cSSH does not contain a definition for Connect also cSSH does not contain a definition for RunCommand
also, I have installed NuGet package Install-Package SSH.NET -Version 2016.1.0 for SshClient then also does not work
I also studied and used the following link C# send a simple SSH command