3 ms·
One low hanging fruit I've thrown into my ssh-ing aliases/functions is is just throwing 'timeout' on the front. I usually exit cleanly and/or don't spin up zom
by PopeDotNinja 7y ago
One low hanging fruit I've thrown into my ssh-ing aliases/functions is is just throwing 'timeout' on the front. I usually exit cleanly and/or don't spin up zombie-prone processes, but sometimes I do dumb things, so to exit after a day...
timeout 86400 ssh me@example.com
I was reading the man page for timeout, and it looks like you can throw some kill options, but I never needed them, so I never looked for them.