Generate a new public/private key pair ssh-keygen -f $keyname
Log into your GitHub account and go to Profile/Settings/SSH Keys
Copy the contents of $keyname.pub into the key field.
Add the key by clicking on the Add Key button.
Make sure you have ssh-agent running and add the key file to it by putting something like this in your .xinitrc or startup file
eval `ssh-agent`
ssh-add $key
Go to the .git directory in your repo and change the url entry under [remote "origin"] url = git@github.com:$yourname/$yourrepo
You can now push to to your repo without entering username or password.