▲ | hammock 5 days ago | ||||||||||||||||||||||||||||||||||
I barely know what SSH keys are, but last week when I was asked to provide one for an stfp site at work they said create a pair using putty. Well I googled putty and found a couple different .org domains, one who which said it was legit but not official, and another which said it was official but looked wildly out of date. Neither one I could find a download for Mac that worked. The one I tried gave a scary “we no longer allow putty sudo access as it’s dangerous” and when I googled this error I could find no explanation to assuage me. And since I wanted to make sure what I was doing was legit, I searched for alternatives. Eventually I discovered I could use command line in mac to generate the keys I needed. But first I installed Xcode then ran the command (I used chatgpt to tell me exactly how to get the type and length I needed). It was easy. Side note, the whole culture of downloading random software and using it with just a single line in a terminal is always sketchy to me too. But I’m not a coder so I’m not used to it. | |||||||||||||||||||||||||||||||||||
▲ | lanyard-textile 5 days ago | parent | next [-] | ||||||||||||||||||||||||||||||||||
It is sketchy. :) Your intuition is correct. The idea is that you will need to put some trust in the project anyway, since you’re trying to install it. Might as well make it easier with a one line install. Edit: You should only do this if someone reliable tells you to, honestly. Doing this with truly random projects you aimlessly find is not a good idea. | |||||||||||||||||||||||||||||||||||
▲ | ok_computer 5 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
If you hadn’t discovered this already with you mac CLI commands, OpenSSH from OpenSSL ‘ssh-keygen’ command is a good way to create SSH keys in ClI and ships in many OSes or is a lightweight download. The OpenSSL website name is unambiguous, which is a benefit. https://docs.github.com/en/authentication/connecting-to-gith... | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
▲ | avhon1 4 days ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||
The wikipedia article has links to the official websites, and not to the scams: https://en.m.wikipedia.org/wiki/PuTTY | |||||||||||||||||||||||||||||||||||
|