Keeping SSH Connections Alive In Linux
If you need to work constantly on SSH, it's very frustrating when the system cuts you off after a period of time. Here, I'll show you the method to keep SSH connections alive until you disconnect.
sudo nano /etc/ssh/ssh_config
Then add the following at the end of your host:
This sends a null packet to the server every 30 seconds (of inactivity) to keep the SSH connection alive. You can set it to either higher or lower, depending on your system configuration.
Share this page!
Resources & Downloads
- Using Advanced Search In Google
- Why backing up your data is important
- Twitter's new features 2016
- Why use Google Apps for Work
- Batch resize images and save for web use
- Keeping SSH connections alive In Linux
- Social media size guide
- Chrome shortcuts
- Powershell snippets
- Do You Git It?
- Logo design questionnaire
- Web design questionnaire