Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've installed ubuntu 13.04 today, and I'm having problems with ftp (via nautilus) disconnecting too quickly. On ubuntu 12, I used to prolong it by calling ls ~/.gvfs/ftp* every 20 seconds using a shell script. However, there's no .gvfs directory on ubuntu 13. Did the ftp mount folder just move elsewhere, or is it gone? What's the best way to keep the connection alive?

share|improve this question
add comment

1 Answer



Add these linies:

net.ipv4.tcp_keepalive_time = 60 
net.ipv4.tcp_keepalive_intvl = 5 
net.ipv4.tcp_keepalive_probes = 6

Save and reboot system.

share|improve this answer
add comment

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.