I'm investigating a timeout issue with an SFTP process running on a remote server and noticed that our server's version of OpenSSH is 3.9 while the remote server is running version 4.3. Would this potentially cause a problem?
By the way, we've already added the following to the ssh_config file and it doesn't seem to be helping:
ServerAliveInterval 100
ServerAliveCountMax 5
Here's the error message we're getting:
sftp> Connecting to xxx.xxx.com...
sftp> Uploading Advisor_20120113.csv to /home/me/Advisor_20120113.csv
Disconnecting: Timeout, server not responding.
Write failed: Connection timed out
Couldn't read packet: Connection reset by peer
Before adding the ServerAlive property values, this is the error message that was showing up in the logs:
sftp> Uploading Advisor_20111113.csv to /home/me/Advisor_20111113.csv
Read from remote host xxx.xxx.com: Connection timed out
Couldn't send packet: Connection reset by peer
The weird thing is that sometimes the transfer works just fine and all the files are copied over. While other times, only one file gets transferred.
dmesgfor odd messages/errors concerning the NIC. – Tim Jan 19 at 21:21