MySQL Connection über SSH in C# .NET – Tutorial




In diesem Video benutzen wir die Bibliothek SSH.NET um einen SSH Tunnel per C# Programm zu einem Linux Server aufzubauen. Sobald uns dieser SSH Tunnel zur Verfügung steht können wir über…

Original source


6 responses to “MySQL Connection über SSH in C# .NET – Tutorial”

  1. Nice tutorial! Only one question…. the ssh client left the port open (established connection on netstat results) until the programm is closed, so if you don't close the programm and you try to connect and consult again, when you arrive to conn.Open() line the connection is really slow just because it tries to open the same port and about 30 sec after works fine. How can we open/close the ssh client port forwarding in order to make a truly new ssh connection like in the beginning? Thks!

Leave a Reply