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 connecting via SSH to a remote 'live' server where I have some bash scripts automated via the crontab. When an error happens in some of the automation scripts within the server, the connection to the server is killed. This is fine to me, but the problem is that PuTTY closes the entire window, which is a behavior I don't want.

I have checked all around the Web, unfortunately the PuTTY site does not have a support page.

Under PuTTY's options I have tried all the menus expanding all options, but still I can't find the right one. I would expect it to be under Window > behaviour.

Do you have any advice?

share|improve this question

migrated from Oct 25 '12 at 11:02

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

See the "Close Window on Exit" option in the Session panel.


This was in one of the first hits when I googled "putty closes window when connection closes".

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.