I need to develop a application that i can run as a windows service.
This application needs to securely connect to my SSH server.
The application needs to automatically connect to my SSH server and open a remote port (reverse tunnel) based on a variable provided:
C:\[login to view URL] 10011 389
[login to view URL] connects to the remote SSH server and authenticates and configures remote port (on SSH Server) to forward requests to "localhost:389" where localhost is the machine running App.exe.
If the tunnel drops I need [login to view URL] to exit so that the Windows service manager will restart it.
Security: I need to make sure that the connection is secured. I am open to ideas on how to easily implement it. Once the app is configured, we should not need to specify security information again (it should be cached/stored securely) so that when [login to view URL] is run again only remote/local ports need to be set.
Hi,
I already have that application which almost matches your requirements. Will need little modification and addition as per your specs. I created this application for my previous employer. this app connects to linux machine through SSH and get some information from the server by executing some hard coded commands. let me know if we can work on that application.