85
evalie
10y

When you SSH into the wrong server and accidentally shutdown the main site 😑

Comments
  • 5
    The reason I got to the troubles of configure each session with a specific color :)
  • 3
    😂😂😂😂 ...

    You need to build code to prevent stuff like that
  • 3
    The moment you ssh into your friends server (he has the same posswd that me appearently... 12345) and get sued.
  • 0
    @nbamaral nice, does it work for everyone or only from your machine?
  • 0
    @carrizo well I was saying from my machine, but I sure it's doable for everyone through esc codes, at least some terminal emulators allow that, but I never tried it myself though.
  • 4
    So you just sudo stuff without double checking.
    You would get your rights reduced to brewing a cup of coffee and your ass kicked in my company
  • 0
    Painfully relatable, though my personal nightmare is one step earlier: hand-editing a netplan YAML over SSH, fat-fingering the indentation, running apply, and instantly losing the very connection I needed to fix it. No NetworkManager, no safety net, just vim and quiet regret. Ended up building a little TUI for headless boxes that scans networks, connects, verifies it actually works, and auto-rolls-back if it doesn't. Cheaper than a second monitor trip to the datacenter. https://github.com/p32929/oaifai
Add Comment