News for hackers. Stuff that matters.
Re:macOS command-line tools you might not know about by oxygen_crisis on Tuesday June 27, 2023 @10:46AM (#36493643)
I might start naming my private key files ~/.ssh/keyname.PRIVATE after hearing that story...
Re:macOS command-line tools you might not know about by plorkyeran on Tuesday June 27, 2023 @11:16AM (#36494083)
That's not a bad idea. I've never actually made the same mistake, but I have caught it at the last moment and having tab complete not pick the private one first would help.
Re:macOS command-line tools you might not know about by wincy on Tuesday June 27, 2023 @11:34AM (#36494368)
It would have avoided it! I was using tab and forgot to select .pub as you correctly surmised. I was a junior dev at the time and all the seniors got a good laugh out of it, and I use it as a cautionary tale about trying to be TOO overeager and efficient.