ssh - Wait for linux machine to be rebooted - Super User
while ! ssh -o ConnectTimeout=1 ${remote_ip} sleep 1 &>/dev/null; do sleep 1; done
このページの著者: takanotume24