Skip to content
Permalink
Browse files

Remove -batch parameter from plink command line, so we have a prompt …

…when a host key is not yet cached. Closes #639
  • Loading branch information...
ansgarbecker committed May 15, 2019
1 parent f893a8d commit 2854c74d134ce3a3d48468dee43987031412f7ba
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/dbconnection.pas
@@ -872,7 +872,7 @@ procedure TPlink.Connect;

// Build plink.exe command line
// plink bob@domain.com -pw myPassw0rd1 -P 22 -i "keyfile.pem" -L 55555:localhost:3306
PlinkCmd := FConnection.Parameters.SSHPlinkExe + ' -ssh -batch ';
PlinkCmd := FConnection.Parameters.SSHPlinkExe + ' -ssh ';
if FConnection.Parameters.SSHUser <> '' then
PlinkCmd := PlinkCmd + FConnection.Parameters.SSHUser + '@';
if FConnection.Parameters.SSHHost <> '' then

0 comments on commit 2854c74

Please sign in to comment.
You can’t perform that action at this time.