VB.NET SSH隧道 [英] VB.NET SSH Tunneling

查看:154
本文介绍了VB.NET SSH隧道的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


嘿所有,



我认为我的要求很简单,但我已经做了一些研究,除了非常难看的问题解决方案之外似乎没有什么可以回答我。



我有托管的MySQL数据库和托管公司我是那里服务的经销商。这意味着我拥有比大多数订户更多的权限。我可以使用SSH隧道连接到那里的数据库,我目前使用的是Premiumsoft的NaviCat。但是,像NaviCat一样,我想在SSH隧道连接中构建应用程序。我之前通过使用PuTTY / Plink实现了这一点,但这是一个丑陋的解决方案。基本上,我必须使用适当的参数启动Plink,如嵌套控制台应用程序。然后在关闭我的应用程序时,我必须关闭连接。现在每次都会出现问题而且它不干净。



所以,我的问题是:是否有任何可以在VB中引用的免费SSH隧道库.NET(Visual Studio 2012),可用于建立与数据库的安全连接。到目前为止,在我的搜索中,我看到了许多不起作用的例子。除了您愿意为每个座位许可证支付300美元外,除了Manual PuTTY或自动Plink之外,其他任何东西似乎都只能在VB.NET世界中使用。



我基本上是设置桌面应用程序来管理我不希望任何其他网络用户能够做的数据。网站上的安全性设置为是或否,不是基于角色的,我不想更改网站。



任何想法?

Hey all,

I think my request is simple, but I have done some research out there and nothing seems to be answering it for me other than very ugly solutions to my problem.

I have a hosted MySQL database with a hosting company in which I am a reseller of there service. This means I have more privileges than most subscribers. I can use SSH tunneling for my connection to the databases on there and I currently do using Premiumsoft's NaviCat. However, like NaviCat, I would like to build in the SSH Tunnel connection into the application. I have achieved this prior by using PuTTY/Plink but it was an ugly solution. Basically, I had to start up Plink with the appropriate arguments like a nested console application. Then when closing the my application I had to close the connection. This caused issues every now and it just wasn't clean.

So, my ask is: Is there any FREE SSH tunneling libraries out there that could be referenced in VB.NET (Visual Studio 2012) that can used to establish a secure connection to the database. So far in my search I have seen many examples of stuff that doesn't work. Nothing other than Manual PuTTY or automated Plink seems to work in the VB.NET world only unless you are willing to pay $300 per seat license.

I am basically setting up a desktop application to manage data that I do not want any other web user to be able to do. The security on the site is set up to be yes or no, not role based and I do not want to change the website.

Any Ideas?

推荐答案

每个座位许可证300个。



我基本上是设置桌面应用程序来管理我不希望任何其他网络用户能够做的数据。网站上的安全性设置为是或否,不是基于角色的,我不想更改网站。



任何想法?
300 per seat license.

I am basically setting up a desktop application to manage data that I do not want any other web user to be able to do. The security on the site is set up to be yes or no, not role based and I do not want to change the website.

Any Ideas?


SSH.NET Library [ ^ ]



SharpSSH2 [ ^ ]


这篇关于VB.NET SSH隧道的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆