While working on a github pipeline, the need came up to wait until a VM is up. The "sufficient" precondition being that an SSH connection becomes possible. Because of ... reasons, this had to be a one-liner. I came up with the one below: vm_public_ip=.... timeout 120s bash -c 'while true; do ssh -tt -o … Continue reading Wait for VM Startup with SSH: A One-Liner Guide