Ubuntu terminal timeout. Keepalive ssh.
Written 1 year 3 days ago by SharmWeb. Last edit 1 year 3 days ago.
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.
KeepAlive yes
if not, tryto add it by editing file:
sudo gedit /etc/ssh/sshd_config
Published in
- SharmWeb's blog
- 393 reads
Problem
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



