Super User is a question and answer site for computer enthusiasts and power users. 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

This has been bothering me for a long time. When I ssh or stfp into my server via putty or winscp it drops out after 2min, then has to reconnect. Putty will just lock up and not let me type... it wont say inactive just pure lockup. Winscp will say host not communicating then I press reconnect and it reconnects...

This happens within 3-5 minutes! It's driving me mad!

On my other pc connecting to the same server same version of both programs it will stay connected for 24 hours! I even reformated my pc and still same issue, do you have any ideas to solve this?

share|improve this question
up vote 4 down vote accepted

This means your server has some connection timeout (try a look at its "sshd_config" file or equivalent).

You can try to play with the "keep alive" options in puTTY or winSCP. Here are my options for some similar case connection:

enter image description here

enter image description here

share|improve this answer
Those settings seem to keep putty up. Now for winscp. – Josip Gòdly Zirdum Feb 13 '12 at 22:21
Same logic: connection -> keepalive settings (I edited my answer and add an example, through not tested). – Ouki Feb 13 '12 at 22:36
I was trying to find the settings lol. I was going through preferences I guess I had to exit it and then I could access the connections. Thanks :) – Josip Gòdly Zirdum Feb 14 '12 at 2:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .