RubyFlow The Ruby and Rails community linklog

Creating and adding an SSH pubkey to GitHub on the fly

If you hate having to create and update new SSH public keys to GitHub every time you start working on a new machine/server, here’s a gist that will make you happy(er): it will first (optionally) generate an SSH public key for you and then upload it to GitHub.

It uses Octopi RubyGem under the hood to leverage their new born API v2.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in