My terminal keeps timing out, how can I prevent this?
If you are connected to one of the cloud servers and your terminal session ends after a period of non-use (about 5 minutes or so), you may receive a message: Write Failed: broken pipe.
An error like this could occur if you leave your computer for a few minutes then return to continue working, causing the server to not receive the "KeepAlive" message from your terminal session.
One way to remedy this is to update your `~/etc/ssh/ssh_config` file to include:
If you do not want to modify your `ssh_config` file, you can append your ssh command like so:
ssh -o ServerAliveInterval=120 email@example.com
For PuTTY users, you're able to set the "KeepAlive" message by doing the following:
- Open PuTTY.
- Type your hostname or IP address in the field provided.
- On the left side of the screen, select Connection from the list of configuration options.
- Set the number of seconds between keepalives to 10.