funguscolander / dotfiles

My Unix dotfiles
1 stars 0 forks source link

Make a quick ssh key fetcher/generator #16

Closed funguscolander closed 4 years ago

funguscolander commented 4 years ago

A command which fetches the public rsa key, and if there isn't one, generate it first. Octocat has an ssh-key generator here and nicksp has pretty much exactly what I'm looking for in their ssh-key binary which they clones into (but you should simlink into) ~/bin/, as seen on line 253 in their setup.sh.

The public rsa key should then be added to SSH in settings/keys following github's guide.

$ ssh-keygen -t rsa -b 4096 -C "your_email@example.com" seems to be the command to use according to github's other guide.

funguscolander commented 4 years ago

Octocat's thing adds your ssh key to your ssh agent. Made #18 to add that.

funguscolander commented 4 years ago

Added in 6c255641cb7ca04eda67ffe11e2e37013853486e