I do the necessary steps to create an ssh key , upload public key to bitbucket ssh keys . i then clone a repo using https . i noticed that cloning using git@XXX doesn't work and it gives a message connection to server expired.
if i clone with https the repo is cloned to my local machine without asking my bitbucket username and password. when i change the local git dir and want to push back to bitbucket repo i always get an "authentication failed" message. I'm not able to understand why i get this message? when i git push i'm prompted for username and password of bitbucket.org at the command line (mac os x) i enter my correct bitbucket username/password and i always get the authentication failed message.
I'm not sure what am i doing wrong & how to solve this problem.
---EDIT----
here is what i get after i do the following command:
git clone [email protected]:ianmayo/gnd.git/wiki
Cloning into 'wiki'...
conq: repository access denied.
fatal: The remote end hung up unexpectedly
when i test connection to bitbucket it seems it authenticates me correctly:
ssh -T [email protected]
conq: logged in as othmanelmoulat.
You can use git or hg to connect to Bitbucket. Shell access is disabled.