There are docs you can read and the tests can be used as "example".
e.g.: https://sshnet.codeplex.com/SourceControl/latest#Renci.SshClient/Renci.SshNet.Tests/Classes/SshClientTest.cs
e.g.: https://sshnet.codeplex.com/SourceControl/latest#Renci.SshClient/Renci.SshNet.Tests/Classes/SshClientTest.cs