quick tip: make ssh retry until the host is up

Thursday, September 24 2015 @ 22:19 CEST

Contributed by: tingo

if you are waiting for a host to boot so you can ssh into it, automate the process: $ until ssh -o ConnectTimeout=2 $host; do sleep 1; done

(found in a message on the freebsd-stable mailing list)

0 comments



http://geekinfo.net/article.php?story=2015092422191187