logoalt Hacker News

embedding-shapeyesterday at 4:58 PM2 repliesview on HN

Another nice little "hidden" thing is that you can get people's public keys from just a GitHub username, and be kind of sure it is keys in active use, by doing http://github.com/$username.keys.

Adding access to a new user? `curl https://github.com/embedding-shapes.keys >> /home/user/.ssh/authorized_keys`


Replies

fragmedeyesterday at 8:19 PM

That is what I was saying. Thank you for giving the instructions I didn't have the time to write out!

tonymetyesterday at 5:43 PM

this is a really neat trick