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 firstname.lastname@example.org:username/repositoryName.git ./desiredTargetFolderName
- first paste following command into bash: ssh -vT email@example.com
- Than run clone command and it should work
Hope it will help someone.
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: