Ubuntu terminal timeout. Keepalive ssh.

Published in

No such BL0WJ0PProblem

Connecting to a remote server with Ubuntu's built in Terminal is great, but if you don't configure it properly, it times out, forcing you to quit the terminal and connect again. You should keep the session alive.

Solution

Check your /etc/ssh/sshd_config file do you have this line ?
KeepAlive yes
if not, tryto add it by editing file:
sudo gedit /etc/ssh/sshd_config
 

Source