The purpose of this article is to provide an explanation to the issue experienced by some clients while transferring data via SFTP through the proxy using the SOCKS proxy.
SSH client connections have a timeout limit that depends on the following values:
ServerAliveInterval 15 (15 seconds)
ServerAliveCountMax 3 (3 connection attempts)
This means the Client will time out after 45 seconds when using its default settings.
Instructions to change these settings vary according to the SSH client being used.
In WinSCP, the "ServerAliveInterval" parameter value can be changed in the Advanced settings by going to Connection > Timeouts > Server response timeout