mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +08:00
Explicitly pass -ssh parameter to plink although that's assumed as default, but there seems to be some magic switch to some other protocol on certain servers. Fixes issue #2278.
This commit is contained in:
@ -526,7 +526,7 @@ begin
|
|||||||
ntSSHtunnel: begin
|
ntSSHtunnel: begin
|
||||||
// Build plink.exe command line
|
// Build plink.exe command line
|
||||||
// plink bob@domain.com -pw myPassw0rd1 -P 22 -i "keyfile.pem" -L 55555:localhost:3306
|
// 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
|
if FParameters.SSHUser <> '' then
|
||||||
PlinkCmd := PlinkCmd + FParameters.SSHUser + '@';
|
PlinkCmd := PlinkCmd + FParameters.SSHUser + '@';
|
||||||
if FParameters.SSHHost <> '' then
|
if FParameters.SSHHost <> '' then
|
||||||
|
Reference in New Issue
Block a user