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.

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

1 Answer 1

up vote 1 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

Your Answer

 
discard

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.