ssh-keygen
will generate you a pair of keys, one private and one public. It sounds like you uploaded the wrong one. GitHub wants the public key, typically here: ~/.ssh/id_rsa.pub
.
More Related Contents:
- SSH Key – Still asking for password and passphrase
- Having Trouble Switching Github accounts on terminal
- Why are connections to GitHub over SSH throwing an error “Warning: Remote Host Identification Has Changed”?
- Git: How to solve Permission denied (publickey) error when using Git?
- Git error: “Host Key Verification Failed” when connecting to remote repository
- Is it possible to create a remote repo on GitHub from the CLI without opening browser?
- Configuring Git over SSH to login once
- Git SSH error: “Connect to host: Bad file number”
- Git’s famous “ERROR: Permission to .git denied to user”
- Repository access denied. access via a deployment key is read-only
- github: No supported authentication methods available
- How do I get git to default to ssh and not https for new repositories
- git clone hangs forever on github
- “Cannot spawn ssh” when connecting to Github, but ssh -T [email protected] works?
- Github (SSH) via public WIFI, port 22 blocked
- How to manage multiple ssh keys in the ~/.ssh directory
- git clone with HTTPS or SSH remote?
- Jenkins: Failed to connect to repository
- Is there a way to cache https credentials for pushing commits?
- Git keeps prompting me for a password
- Unable to change Git account
- GitHub: How to make a fork of public repository private?
- Heroku: How to push different local Git branches to Heroku/master
- How do I rename a repository on GitHub?
- Send a pull request on GitHub for only latest commit
- How to clone all repos at once from GitHub?
- Unable to Connect to GitHub.com For Cloning
- Remove commit for good
- How do I merge a specific commit from one branch into another in Git?
- Editing the git commit message in GitHub