Fail quickly if the host is unreachable.
Section: Useful Options
Set connect timeout
bash
bash
ssh -o ConnectTimeout=5 user@example.comExplanation
Fail quickly if the host is unreachable.
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