diff --git a/source/mysql_connection.pas b/source/mysql_connection.pas index 351a91df..e41b9c5a 100644 --- a/source/mysql_connection.pas +++ b/source/mysql_connection.pas @@ -526,7 +526,7 @@ begin ntSSHtunnel: begin // Build plink.exe command line // plink bob@domain.com -pw myPassw0rd1 -P 22 -i "keyfile.pem" -L 55555:localhost:3306 - PlinkCmd := FParameters.SSHPlinkExe + ' '; + PlinkCmd := FParameters.SSHPlinkExe + ' -ssh '; if FParameters.SSHUser <> '' then PlinkCmd := PlinkCmd + FParameters.SSHUser + '@'; if FParameters.SSHHost <> '' then