我想建立在SSH端口转发到我正在写一个.NET应用程序。
I am trying to build in SSH port forwarding into a .net application that I am writing.
我使用 sharpSSH 都试过了,但它要求用户输入他们的密码每一次,我不希望出现这种情况。我要处理存储的密码。
I have tried using sharpSSH, but it requires the user to input their password every time, and I don't want that. I am going to handle storing the password.
我已经下载格拉纳多斯,但基本上是零的文档了。虽然我通过格拉纳多斯源筛选,没有人知道如何实现端口转发格拉纳多斯或任何其他的免费 SSH文库的.NET?
I have downloaded Granados, but there is basically zero documentation for it. While I sift through the Granados source, does anyone know how to accomplish port forwarding with Granados or any other free SSH library for .NET?
推荐答案
可以在设置SSH服务器上远程DSA密钥?这样,你可以保存密钥的用户(这样做,因为一次性的东西),然后在服务器上的密钥保存为授权用户。
Can you set up an DSA key on the SSH server remotely? That way, you could save a key for the user (do this as a one-time thing), then save the key on the server as an authorized user.
相关推荐
最新文章