DEV Community

Discussion on: Generating A New SSH Key and Adding It to Github

Collapse
 
daanwilmer profile image
Daan Wilmer

If you're on a mac, which seems to be the assumption anyway, you can also use pbcopy < ~/.ssh/id_rsa.pub to get your public key into the clipboard. If you're using linux, you can use use xclip and aliases to get exactly the same result: garywoodfine.com/use-pbcopy-on-ubu...

If you're using windows, well... I guess you could use the WSL to run bash?

Collapse
 
maedahbatool profile image
Maedah Batool πŸ‘©β€πŸ’»

Thanks for sharing it. I had this step in mind probably it got missed. :P