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?

migrated from stackoverflow.com Oct 25 '12 at 11:02

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


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".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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