Stress relieved
Posted by mittdev@reddit | sysadmin | View on Reddit | 13 comments
Deleted 886 lines of ssh config after leaving a job, feels good man.
Posted by mittdev@reddit | sysadmin | View on Reddit | 13 comments
Deleted 886 lines of ssh config after leaving a job, feels good man.
michaelpaoli@reddit
Yeah, always "fun" on the way out to do stuff like:
$ (for host in $(hostsgen); do { ssh -n -o BatchMode=yes "$host" 'rm -rf .ssh' >."$host".out 2>."$host".err; echo $? > ."$host".rc; } & done; wait)
Where hostgen output the hostnames of the hundreds to thousands of hosts I have access to.
thebigshoe247@reddit
Next guy: wtf happened to SSH?
mittdev@reddit (OP)
Fun fact only took 3 months for that place to fold without me. No next guy.
michaelpaoli@reddit
Yep, ... fair number of places I left (or they left me), completed their implosion not too long after I was no longer there. At least two jump to mind, but there are probably more if I think about it in more detail (and do a bit more checking).
thebigshoe247@reddit
Nice. I hope to leave behind a similar fate soon.
_l33ter_@reddit
Why are you deleting them, if I may ask?
mittdev@reddit (OP)
Bunch of lines of old client code commit repo auth short cuts and bastion hosts. I had started that role on 2013 so back when we used ssh into the server to prove to the dev it's the schema migration they wrote that failed the deployment.
_l33ter_@reddit
Ah ok :) - At first I thought it was out of spite
mittdev@reddit (OP)
Nah, they're all long useless just cleaning up and felt some relief removing that many lines.
Signal_Till_933@reddit
I’m so paranoid about deletions I probably would’ve just left it for eternity or the box died.
_l33ter_@reddit
Sounds freaking damn satisfying :)
DavWanna@reddit
Nuked my local browser profiles recently as well, and it did feel good. Also the extra 40 GB or so of storage gained was pretty nice. This reminds me though, should still clean up Bitwarden from some credentials.
mittdev@reddit (OP)
Yeah my clients folder of 10 years worth of work was a big payday for storage space.