I am working on ETL using C #, which retrieves data from a remote MySQL database, which requires an SSH tunnel connection. Currently, I work so that I first create my SSH tunnel manually using PuTTY, and then programmatically connect to the database, usually using the MySqlConnection object, etc.
How can I programmatically create an SSH tunnel using C # /. NET? Are there any libraries for this and / or anything built into the .NET platform that would help me with this?
source
share