Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running Ubuntu 11.04 on a machine in my house that I use for web development. I connect to it using Filezilla SFTP to transfer files from my office. When I connect and only browse, the connection will remain active for extended periods of time (desired result). However, when I transfer a file, after the queue is complete, I get disconnected after ~10 seconds. What could be causing this?

I've tried TCPKeepAlive yes / no, ClientAliveInterval, neither seem to help.

share|improve this question
Any relevant information in server logs? – Khaled Apr 17 '12 at 13:45
I'd bet £1 it's related to the firewall you're traversing at work (assuming when you say 'your office' there's a corporate firewall protecting you from the evils of the internet) - but I don't know how you could prove / solve the issue if that's it. Does it happen from non-office locations in the same way? – EightBitTony Apr 17 '12 at 13:55
what about scp? if you scp a file does the same thing happen? if not, then filezilla is sending something to close the connection after the transfer. – johnshen64 Apr 17 '12 at 16:40
Can you define "transfer a file"? – Patrick Apr 17 '12 at 21:59
scp doesn't keep connection open anyway. – sendmoreinfo Oct 27 '12 at 7:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.