234

Angry programmer:
YOU WANT A PUBLIC KEY?
YOU WANT A PUBLIC KEY?
*smashes keyboard*
THERE'S YOUR PUBLIC KEY

Comments
  • 7
    Thanks man. Started my morning laughing.
  • 4
    just asking, can I have your PRIVATE KEY!?!?!?!?!?! o.O
  • 2
    @aikone haha… but if they're angry you may get beat up
  • 1
    @calmyourtities the private key still might be worth it 😂
  • 1
    Hahahahhaha
  • 1
    alias cpkey='cat <(cat ~/.ssh/id_rsa.pub | xargs echo -n) <(printf " $USER") | pbcopy'

    cpkey is what I use to copy my public key to the clipboard on my Mac. Use xsel or xclip if you don't have pbcopy.
  • 0
    @chaimleib that seems redundent to me.
  • 0
    @magicMirror Some machines don't put the username after the key, so I had to add it in myself here. If yours does, you can leave out the printf.

    As for the two cats, the first one joins the key with the username. The second one is used to strip newlines from the end of the file.
  • 0
    @chaimleib my point exactly. 😃😃😃
Add Comment