SSH connection keepalive

Add these lines into you ~/.ssh/config file. It can help you send keepalive message 6 times every 30 seconds.

Host *
  ServerAliveInterval 30
  ServerAliveCountMax 6


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.