简体   繁体   English

我想使用网站www.bitvise.com上的库创建一个连接到SSH服务器的连接转发

[英]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";
}

Picture of the error: 错误图片: 在此处输入图片说明

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.

相关问题 使用 C# 中的 SSH 协议混淆从 Bitvise SFTP 服务器连接和下载文件 - Connect and download files from Bitvise SFTP server with SSH protocol obfuscation in C# 我想解析这个网站 url "https://www.171chryslerdodgejeepram.com/" 来获取 DealerId 的值,但我不知道该怎么做 - I want to parse this website url "https://www.171chryslerdodgejeepram.com/" to get value of DealerId but I have no idea how to do it 如何为www.website.com/profile创建路由 - How to create a route for www.website.com/profile 我想使用Url.action在mvc中的www.mysite.com/home/details/1/lesson1中创建Create Url - I want Create Url like in www.mysite.com/home/details/1/lesson1 in mvc with Url.action 想用 www 打开我的网站 - Want to Open My Website with www 需要帮助,我该如何使用HttpWebRequest登录www.shutterstock.com,其他网站还可以 - Need help,How can i use HttpWebRequest login www.shutterstock.com,Other website is fine 我想创建一个 webscraper,它将从 angular 网站抓取 html - I want to create a webscraper that will scrape html from angular website 将www.website.com和website.com与sql匹配 - Match both www.website.com and website.com with sql like MVC 4丢失会话,因为从www.website.com重定向到website.com - MVC 4 Lose Session Because Redirects From www.website.com to website.com Visual Studio认为我要连接到SQL Server而不是MySQL? - Visual Studio thinks I want to connect to SQL Server instead of MySQL?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM