File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1119,7 +1119,7 @@ procedure TSecureShellCmd.Connect;
11191119 if FConnection.Parameters.SSHPrivateKey <> ' ' then
11201120 SshCmd := SshCmd + ' -i "' + FConnection.Parameters.SSHPrivateKey + ' "' ;
11211121 // OpenSSH options must be placed before the destination host.
1122- SshCmd := SshCmd + ' -o StrictHostKeyChecking=no -o IgnoreUnknown=WarnWeakCrypto -o WarnWeakCrypto=no-pq-kex -o ExitOnForwardFailure=yes -o ServerAliveInterval=60 -o ServerAliveCountMax=3' ;
1122+ SshCmd := SshCmd + ' -o StrictHostKeyChecking=no -o IgnoreUnknown=WarnWeakCrypto -o WarnWeakCrypto=no-pq-kex -o ExitOnForwardFailure=yes -o ServerAliveInterval=60 -o ServerAliveCountMax=3 -o LogLevel=error ' ;
11231123 SshCmd := SshCmd + ' -N -L ' + IntToStr(FConnection.Parameters.SSHLocalPort) + ' :' + FConnection.Parameters.Hostname + ' :' + IntToStr(FConnection.Parameters.Port) + ' ' + TargetHost;
11241124 end ;
11251125
You can’t perform that action at this time.
0 commit comments