UPDATE: FATAL ERROR while cloning from Bitbucket private repository
FATAL ERROR: Disconnected: No supported authentication methods available (server sent: publickey)
If this is error, which You are getting form Bitbucket server while trying to clone Your private repository, you can try following:
- Start Git bash command line at the location where You want have Your repository cloned.
- Copy clone command from Your repository web page – like: git clone git@bitbucket.org:username/repositoryName.git ./desiredTargetFolderName
- first paste following command into bash: ssh -vT git@bitbucket.org
- Than run clone command and it should work
Hope it will help someone.
Update:
If You`re still having problems with pulling data from Your repository (because of permission), check Your home ssh folder, if it contains correct public key file, usually it is:
~/.ssh/id_rsa.pub