4 ms·
That's so much better than bourne/bash, which requires this monstrous wart of a code blob: autossh() { # Tiny delay after failure in case of connectio
by ChoHag 2y ago
That's so much better than bourne/bash, which requires this monstrous wart of a code blob:
autossh() {
# Tiny delay after failure in case of connection errors
while ! ssh "$@"; do echo Restarting ssh "$@"...; sleep 1; done
}