3 ms·
You might be interested in a program called "molly-guard". It overrides shutdown/reboot/halt/poweroff with a shell script that detects if you're in an ssh sessi
by lucumo 17y ago
You might be interested in a program called "molly-guard". It overrides shutdown/reboot/halt/poweroff with a shell script that detects if you're in an ssh session. If that's so, it will prompt for the hostname of the host you want to shutdown.
It has saved me a few times.