Bootstrap FreeKB - SSH - ssh ConnectTimeout option
SSH - ssh ConnectTimeout option

Updated:   |  SSH articles

With the ssh command, the ConnectTimeout option can, as the name implies, timeout if the connection fails after a certain period of time. In this example, the connection will time out after 5 seconds.

ssh -o ConnectTimeout=5 john.doe@server1.example.com

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 5cc172 in the box below so that we can be sure you are a human.