General Tech

PuTTY Broadcast Command Disaster: How One Click Wiped Prod

Anyone who has worked in IT operations knows the specific dread that comes with a late-night deployment. The coffee has worn off, the office is silent, and your judgment is just slightly impaired by exhaustion. It is in these moments that the most legendary disasters often occur.

According to a report published this week in The Register, a classic example of this ‘3 AM peril’ occurred back in 2009 involving a major supermarket chain, a new website launch, and a dangerously powerful terminal feature. The incident, recounted by a contractor identified only as ‘Tom’, serves as a chilling reminder of why manual intervention in production environments is a practice best left in the past.

The story centers on the launch of a general merchandise website for the supermarket. As is often the case with major infrastructure projects, the timeline had slipped, pushing the final deployment steps deep into the early morning hours. By 2:00 AM, the team was exhausted but ready for the final step: a simple cleanup of temporary files.

How did a routine cleanup wipe the entire infrastructure?

The catastrophe wasn’t caused by a bug in the code, but by the tools used to manage the servers. Tom and an unnamed support staffer were managing a cluster of servers. To speed things up, the staffer was using PuTTY CS (Command Sender). For those unfamiliar with the tool, PuTTY CS allows a user to open multiple terminal windows connected to different servers and ‘broadcast’ keystrokes to all of them simultaneously.

It is a powerful feature designed for efficiency—patching ten servers at once, for example. However, it requires absolute precision. The staffer had open connections to every single production server in the environment. The instruction was to clear a specific directory on one machine. Instead, with the broadcast feature active, the staffer typed the most dangerous command in the Linux lexicon: rm -rf *.

Get our analysis in your inbox

No spam. Unsubscribe anytime.

Share this article

Leave a Comment