Knowledge base dedicated to Linux and applied mathematics.
Home > Linux > Tip of the day > How to setup SSH timeout in shell script ?
25 January 2014, by Nadir Soualem
All the versions of this article:
To define a timeout of 5 seconds when trying a ssh connection to access host server:
ssh -o ConnectTimeout=5 host
This website was useful to you? Then it's a good reason to buy me a coffee.
It will give me the energy and motivation to continue this development. Thank you !
Blog template built with Bootstrap and Spip by Nadir Soualem @mathlinux.
Back to top