[英]I want create a Connect forwarding to SSH server with library on website www.bitvise.com
I created a connect to SSH server forwarding with library "FlowSshNet64_Framework40.dll" (my operating system is 64 bit) in C# but while I'm running error after import library to application and follow the instructions: 我在C#中使用库“ FlowSshNet64_Framework40.dll”(我的操作系统是64位)创建了一个到SSH服务器转发的连接,但是在将库导入应用程序后运行错误时,并按照说明进行操作:
https://www.bitvise.com/fsd-client https://www.bitvise.com/fsd-client
Bitvise.FlowSshNet.Client t = new Client();
t.SetProxyHost("66.172.203.200");
t.SetProxyOptions(true);
t.SetProxyUserName("admin");
t.SetProxyPassword("admin");
t.SetProxyPort(22);
t.SetProxyType(ProxyType.Socks5);
ForwardingRule setup = new ForwardingRule();
setup.ClientToServer = true;
setup.ListInterface = "127.0.0.1";
setup.ListPort = 1080;
ForwardingHandler setup1 = new ForwardingHandler();
if (setup1.IsDisposed)
{
t.AddForwarding(setup, setup1);
label1.Text = "connected";
}
you can use FlowSshNet32_Framework40.dll on the os 64 bit 您可以在OS 64位上使用FlowSshNet32_Framework40.dll
to run this you must copy all file to same directory such as bin\\Debug. 要运行此程序,必须将所有文件复制到同一目录,例如bin \\ Debug。 I do it and it doesn't have error
我做到了,没有错误
Binaries\CiProv32.dll Binaries\CryptoPP530Fips32.dll Binaries\FlowSshC32.dll Binaries\FlowSshNet32_Framework40.dll -> RENAME THIS FILE TO: FlowSshNet32.dll
But i use your code and it not forwarding to ssh 但是我使用您的代码,它不会转发到ssh
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.