views:

126

answers:

1

I am trying to build in SSH port forwarding into a .net application that I am writing.

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.

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?

+1  A: 

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.

alc6379
Using keys is a lot better than using passwords. Upvote
Freiheit