SFTP connection fails at 45 seconds while going through the ProxySG.
search cancel

SFTP connection fails at 45 seconds while going through the ProxySG.

book

Article ID: 171814

calendar_today

Updated On:

Products

Advanced Secure Gateway Software - ASG ProxySG Software - SGOS

Issue/Introduction

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.

Cause

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.

Resolution

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