Is there a recommended `ServerAliveInterval` value for Cloudflare SSH tunnels?

Question

Grade: Education Subject: Support
Is there a recommended `ServerAliveInterval` value for Cloudflare SSH tunnels?
Asked by:
78 Viewed 78 Answers

Answer (78)

Best Answer
(312)
A value of 60 seconds for `ServerAliveInterval` is a commonly recommended starting point. Adjust this value based on your network conditions. Shorter intervals can reduce latency, but may increase network overhead. Longer intervals reduce overhead but increase the risk of timeouts if there are network hiccups.