Quantcast
Channel: sshnet Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1026

Commented Unassigned: Dynamic Port Forwaring slows to a stop in 2014.4.6-beta1 [2005]

$
0
0
When doing Dynamic Port Forwaring using 2014.4.6-beta1 slows to a stop after using it as a Socks 5 proxy after a minute or so of usage doing normal surfing. Replicated it using C# and PowerShell. Tried using Putty against the same sever and there is not problems with it,
Comments: ** Comment from web user: Darkoperator **

```
AuthenticationMethod[] authenticationMethods =
{
new PasswordAuthenticationMethod("root", "8dbjvu6b")
};
using (var client = new SshClient(new ConnectionInfo("192.168.1.217", "root", authenticationMethods)))
{
Console.WriteLine("Connecting");
client.Connect();
if (client.IsConnected)
{
Console.WriteLine("Connection was succesful");
}
else
{
Console.WriteLine("Not connected");
return;
}
var frwport = new ForwardedPortDynamic("localhost", 8080);
client.AddForwardedPort(frwport);
Console.WriteLine("Starting Socks Proxy at port 8080");
frwport.Start();
Console.ReadLine();
Console.WriteLine("Stopping port forwarding");
frwport.Stop();
Console.WriteLine("Disconnecting");
client.Disconnect();
}
```


Viewing all articles
Browse latest Browse all 1026

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>