Why Nostr? What is Njump?
2023-10-20 23:40:33

Scott Williams 🐧 on Nostr: Rebooted a server and want to ssh into it as soon as it comes back up? while [[ 1 ]] ...

Rebooted a server and want to ssh into it as soon as it comes back up?

while [[ 1 ]] ; do ssh some_server && break ; sleep 5 ; done

(This one is particularly useful when you can't ping the remote sever.)

#bash #Linux #ssh
Author Public Key
npub1hmhz33j9p66ayxlegfuarul5refyepatlp3e8q6mghn2r6vrjrns0msatr