Skip to content

Instantly share code, notes, and snippets.

@mashanz
Created September 24, 2020 02:57
Show Gist options
  • Save mashanz/c8a0b3b51d6cb97d7a62af939b12d257 to your computer and use it in GitHub Desktop.
Save mashanz/c8a0b3b51d6cb97d7a62af939b12d257 to your computer and use it in GitHub Desktop.

Install ssh server

sudo apt-get update -y
sudo apt-get install openssh-server

Add this in the end of file /etc/ssh/ssh_config

TCPKeepAlive yes
ClientAliveInterval 3600
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment