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.

Revisions

  1. mashanz created this gist Sep 24, 2020.
    11 changes: 11 additions & 0 deletions LUBUNTU_SSH_SERVER_PREP.MD
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    # Install ssh server
    ```sh
    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
    ```