SSH, connect and exec mysql query
===

i`m using mysql client 

    using MySql.Data.MySqlClient;

how i can run connect on SSH tunnel?

_____________________
i create ssh connect use `SharpSsh`

    SshExec exec = new SshExec("host", "user");
    exec.Password = "pass";
                
    Console.Write("Connect...");
    exec.Connect(22);
    Console.WriteLine("OK");
    string output = exec.RunCommand("mysql -p pass -u user db -h host;");
    if (output == "")
       Console.WriteLine("error");
    Console.WriteLine(output);

But why do I write a lot of code that can, through the client can immediately make a ssh connection, right?

please help :)