[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 348
  • Last Modified:

FTP error

Hello All,

My requirement:

My system is behind firewall. I am connecting to one of the systems with public IP on the internet using ssh ( putty ) and then do an ftp from that system (which is a solaris 8 O.S).
to a system in My DMZ.

What is going through correctly:

I am having all the ports opened from my hardware firewall.
I was able to get connected to the system with public IP from my LAN using ssh (putty).
And I was able to get the connection to the ftp server in my DMZ from that public IP system.
I could able to initiate the download from the server to my ftp server.
I have enabled all the required ports in passive mode i.e. from 1024 - 65536 for tcp.

The problem is:

After about an hour long of download (the size of file to download is 550mb). the system gives an error saying "netout: Broken pipe".

Could some one help me solve this issue.

Thanks,

Rajesh
0
avrajesh_99
Asked:
avrajesh_99
  • 2
1 Solution
 
jlevieCommented:
Does the error come from your local machine (the one you initiated the ssh connection from)? If so it probably is a result of the local firewall timing out what it believes to be an idle session. And it might think that because you aren't sending data from the local machine once you've started the FTP transfer. That can be remedied by setting the "Seconds between keepalives" under the PuTTY "Connection" configuration to a non-zero value.
0
 
avrajesh_99Author Commented:
Yes, you are correct I am getting the error from my local system.

Yes, I do have the setting of "seconds between keepalives" set to "1".

Any idea what else could be wrong.

Rajesh
0
 
jlevieCommented:
Since the error is from the local machine I'd think that it must be a case of a firewall timing out the connection, event though PuTTY should be sending keepalives. The solution to that might be to background the FTP transfer and occasionally do domething on the remote, like an ls.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now