Skip to content

Instantly share code, notes, and snippets.

@skplunkerin
Last active December 16, 2021 02:08
Show Gist options
  • Save skplunkerin/c9106776bd0dfe1cc6f36a832d4b1051 to your computer and use it in GitHub Desktop.
Save skplunkerin/c9106776bd0dfe1cc6f36a832d4b1051 to your computer and use it in GitHub Desktop.
ssh broken pipe fix

Check: https://askubuntu.com/a/142430/54348

  • for Linux

    • /etc/ssh/ssh_config
  • for Mac:

    • ~/.ssh/config
    • or /etc/ssh/ssh_config

Add this to your SSH config file:

Host *
    ServerAliveInterval 120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment