-
Notifications
You must be signed in to change notification settings - Fork 17
Generating an SSH key
Mike Kasprzak edited this page Nov 15, 2017
·
8 revisions
Instructions: help.github.com/.../generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/
Or put simply:
ssh-keygen -t rsa -b 4096 -C "[email protected]"NOTE: Be sure to edit the e-mail address
Then push enter after every prompt.
This creates ~/.ssh/id_rsa (private key) and ~/.ssh/id_rsa.pub (public key).
You want the .pub.
cat ~/.ssh/id_rsa.pubCopy that to the clipboard. The next step is to install the key.
Instructions: help.github.com/.../adding-a-new-ssh-key-to-your-github-account/
Or simply:
- Click your Avatar in the top-right corner of the website
- Click Settings
- In the sidebar click SSH and GPG Keys
And add it by giving it a name, and pasting the public key.
Now you'll be able to use the recommended installation procedure, and commit changes without a password.
cd www
git init
git remote add origin [email protected]:YOUR-USER-NAME-ON-GITHUB/ludumdare.git
git remote add upstream https://github.com/ludumdare/ludumdare.git
git fetch
git checkout -t origin/masterBe sure to change YOUR-USER-NAME-ON-GITHUB to your username on GitHub.
More resources at dev.ludumdare.com