3 ms·
How is this different from this ssha () { while true do ssh "$@" sleep 1 done true } EDIT: Oh I think I know, autossh
by frizlab 2y ago
How is this different from this
ssha () {
while true
do
ssh "$@"
sleep 1
done
true
}
EDIT: Oh I think I know, autossh must be detecting when the connexion is closed but ssh does not automatically…
- beagle3 2y agoSsh does with the right settings and has for about a decade - see the systemd example someone posted above.