Created
February 21, 2021 06:29
-
-
Save ChrisSwanson/d6975c47cffe72beeb7fa0dac99c7050 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ping until host is up, then ssh to host. | |
until ping -c1 $hostname >/dev/null 2>&1; do ssh $hostname; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment