Blog

GitHub Setup Utility

December 30, 2010


Every 6 months or so, I wipe my computers and install the new version of Ubuntu. And each time, I have to set up git and GitHub again. And every time, I have to go find their support docs for just how to do it, which is annoying. So I wrote a quick little utility that prompts for your username and email, and gets all your keys and such ready for GitHub. It even copies your public key to the clipboard, for easy pasting into the GitHub key interface!

Download Github Setup Utility.

And run it from the command line:

sudo sh git_setup.sh

Now test to make sure it worked.

ssh git@github.com

You should get a congratulatory message about how awesome you are! If you are running Ubuntu like me, and get “agent admitted failure to sign using the key”, simply reboot. It is a known (and apparently ignored???) bug in Ubuntu.



About Josh Gachnang

Josh Gachnang is a small business consultant with 5 years of experience in developing IT systems. His specialties include moving IT infrastructure to the cloud, standard and mobile web development using Python and Django, and promoting with social media.  ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>