Connecting to the wrong server
Connecting to the wrong server


[Meme transcription:]
– Hey, why is the shell prompt on the production server red now?
– Earlier: me@prod:~$ docker container remove --force the-application
Protip: If you’re used to shutting down your computer via the CLI, make it a habit to use an alias like off
.
This way you will never, ever turn off a remote server by accidentally using throwing poweroff
at a residual SSH connection.
You're viewing a single thread.
Here we simply have a tool that on dangerous commands like power off or reboot asks for the host name of the machine in question. Didn’t stop me from accidentally rebooting a machine once, but no matter
51 0 Replysounds interesting. do you have the name of the tool or is it a custom script
13 0 ReplyProbably molly-guard.
26 0 Reply
Holy shit that’s brilliant
5 0 Reply