3 ms·
What is the reason to run 'sleep 20m'?
by rs_rs_rs_rs_rs 2y ago
What is the reason to run 'sleep 20m'?
- lloeki 2y agoexits (and so restarts) every 20min, e.g ensuring there's no hung sshd on the other side for longer than that. IIRC if there's an active connection on the forwarding thingy, that ssh command won't exit until the forwarded connection is closed, so this won't interrupt an active forwarded connection every 20min.