Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
bezorp3736yGood God, why did you not do a simple 'cp -a id_rsa -- delete_me' first? I'm so paranoid about deleting something important that I have several tiers of backup folders, just in case.
-
@bezorp they were expendable servers, all made with Packer, Puppet, and Terraform. Nobody cared , and the goal was to clear out any possibility that old rsa keys existed before pulling the latest. Truthfully, the script was stupid because that file never existed in a perfect world as the server was brand new. I’m the stupid one who ran it on my laptop without looking through it first. I’m also the stupid one who added that damn line of code months ago but forgot it was there. I think I’m also never going to use the default “id_rsa” name again, my new key will just be named something different from the start.
-
@netikras almost everything lives in git for my. I was shocked when I found out I didn’t commit that file. I’m going to work on a script that makes the new key and commits the file to a private repo.
Related Rants
-
fabiomsnunes22Stupidest client ever: I once had a client that requested me a new website, all went well and get paid. After ...
-
Coffe2Code13~During app demo to our client~ - And when you click here the request will be submitted, the admin will be no...
-
watzon20This is what happens when you listen to clients
Today’s DevOps public service announcement... don’t test your server provisioning scripts locally. Especially when this gem is in there:
rm -f ~/.ssh/id_rsa
echo ‘vault secret/ssh_key’ > ~/.ssh/id_rsa
Well, I no longer have my key, but the script works! I’m sitting with a very locked down server key
rant
security works
no backup
stupid