GitHub > Permission denied (publickey)

local

$ ssh-keygen

Add the copied key to GitHub:

1. In the top right corner of any page, click your profile photo, then click Settings.
2. In the user settings sidebar, click SSH keys.
3. Click Add SSH key.
4. In the Title field, add a descriptive label for the new key.
5. Paste your public key into the "Key" field.
6. Click Add key.
7. Confirm the action by entering your GitHub password.
最終更新:2015年11月11日 00:06