Reputation: 7
I'm having trouble with BitBucket. I've created my repo with:
git remote add origin [email protected]:bert_ramirez/hello_app.git
I then added the ssh key by first using xclip -sel clip < ~/.ssh/id_rsa.pub
and pasting it into BitBucket.
When I try git push -u origin --all
I am denied access with the following message:
ssh: connect to host bitbuckey.org port 22: Connection refused
fatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists.
I've followed through their BitBucket 101 and have no problem with GitHub, but so far no luck in my first attempts at BitBucket. Any hints?
Upvotes: 0
Views: 9978
Reputation: 1323203
host bitbuckey.org port 22
could mean there is a typo.
It should be bitbucket.org
, not bitbuckey.org
.
You can change it easily with:
git remote set-url origin [email protected]:bert_ramirez/hello_app.git
Upvotes: 4