Take a look at the tests:
https://sshnet.codeplex.com/SourceControl/latest#Renci.SshClient/Renci.SshNet.Tests/Classes/ForwardedPortLocalTest.cs
Since you don't show all your code, I also just can guess and I won't do that ;)
https://sshnet.codeplex.com/SourceControl/latest#Renci.SshClient/Renci.SshNet.Tests/Classes/ForwardedPortLocalTest.cs
Since you don't show all your code, I also just can guess and I won't do that ;)






