Renci has several classes, you can use them to connect to ssh. Below is the sample example.
Quote:
SshClient sshClient = new SshClient("localhost", "root", "")
var terminal = sshClient.RunCommand("service mysqld restart");
var output = terminal.Result;