Log plink.exe command line as information on SSH tunnel initialization

This commit is contained in:
Ansgar Becker
2015-04-02 10:17:26 +00:00
parent 413643f1a0
commit a17fee70a3

View File

@ -829,6 +829,7 @@ begin
rx.Expression := '(-pw\s+")[^"]*(")';
PlinkCmdDisplay := FConnection.Parameters.SSHPlinkExe + ' ' + rx.Replace(PlinkParameters, '${1}******${2}', True);
FConnection.Log(lcInfo, f_('Attempt to create plink.exe process, waiting %ds for response ...', [FConnection.Parameters.SSHTimeout]));
FConnection.Log(lcInfo, PlinkCmdDisplay);
// Prepare process
FillChar(StartupInfo, SizeOf(StartupInfo), 0);