Setup GitHub SSH

Here's how to fix your connection to GitHub.

This assumes your computer is called Dreyfus, you should change this to something else.

# Come up with a password.
#Make a key
ssh-keygen -t ed25519 -a 100 -f ~/.ssh/dreyfus2github

# type the password twice, or enter blank twice.

#Go to your github settings page
#Open the public key in a text editor
edit ~/.ssh/

#Copy paste the contents into the box on the page
# Update your SSH config
user git
identityfile ~/.ssh/dreyfus2github

# add your key to your ssh-agent
ssh-add ~/.ssh/dreyfus2github

# then try it out with
> ssh
Hi YourName! You've successfully authenticated, but GitHub does not provide shell access.
Connection to closed.

Please send questions or comments to