Prefer 127.0.0.1 over localhost for connecting to a SSH tunnel. Probably fixes issue #381.

This commit is contained in:
Ansgar Becker
2018-10-31 08:09:58 +01:00
parent c749c061a5
commit f5e575e6b8

View File

@@ -1687,7 +1687,7 @@ begin
// Create plink.exe process
FPlink := TPlink.Create(Self);
FPlink.Connect;
FinalHost := 'localhost';
FinalHost := '127.0.0.1';
FinalPort := FParameters.SSHLocalPort;
end;
end;