Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

How to keep putty SSH connections alive

Introduction:
This article describes how to keep SSH connections alive. If you experience problems when using SSH, such as dropped or unresponsive connections, you may need to adjust some settings in your SSH client

Possible Scenario:
Let’s assume a scenario where you have putty in your local machine and you are accessing aws ec2 ubuntu machine using putty from your local machine via SSH

Steps to keep the session alive forever:


Select the IP address of the aws ec2 ubuntu machine
Click on load
Choose Connection
Type 240 as in the box shown above
Click on session
Click on save
Click on Open and enjoy the session that will remain active forever

Thanks for reading. I hope you enjoyed the article

Chetan