Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 using emacs with TRAMP ( C-x C-f / ), and randomly, sometimes ten minutes, sometimes, ~12 seconds (no exaggerating) my connection will close (I think). I'll try to type, or list a dir, and it will say "Opening FTP connection to". Is there a way to tell it to just keep the connection open until I exit? Or is it the webserver killing the connection? I'm just using standard FTP.


share|improve this question
up vote 1 down vote accepted

To test, try using FTP by hand. FTP to your site on the command line, do a few things, then wait about 30 seconds or so, and see if it disconnects you. I remember one webhosting firm timed me out very fast.

As to tramp, the only thing I can see is the user option tramp-completion-reread-directory-timeout. Maybe it wonders if someone else changed the directory and rereads it to be sure.

share|improve this answer

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.