Send keepalive probes to keep long sessions open.
Section: Useful Options
Configure keepalives
bash
bash
ssh -o ServerAliveInterval=30 -o ServerAliveCountMax=3 user@example.comExplanation
Send keepalive probes to keep long sessions open.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Useful Options