V
V
valentine112016-07-01 16:35:25
git
valentine11, 2016-07-01 16:35:25

How to solve FATAL ERROR: Disconnected: No supported authentication methods available (server sent: publickey)?

You need to clone the remote repository on your computer.
ssh access.
My steps: install Git Extension, generate public and private keys with PuttyGen, save. Adding a public key to Bitbucket. Then I try to clone the repository via Git Extensions.
After requesting a private key, cloning fails with the message:
"C:\Program Files\Git\bin\git.exe" clone -v --recurse-submodules --progress "git clone [email protected]:xxx/xxx.git" "C:/xxx"
Cloning into 'C:/xxx'...
FATAL ERROR: Disconnected: No supported authentication methods available (server sent: publickey)
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Done
Question: what am I doing wrong? How to fix the error?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
valentine11, 2016-07-01
@valentine11

In general, this is where the error is: clone -v --recurse-submodules --progress "git clone [email protected]:xxx/xxx.git" "C:/xxx".
Do this: clone -v --recurse-submodules --progress "[email protected]:xxx/xxx.git" "C:/xxx".
I think explanations are superfluous.
I copied the address line from Bitbucket. We do everything without looking, then for half a day out of the blue we look for mistakes ...

A
aol-nnov, 2016-07-01
@aol-nnov

generate a key and add it to ssh-agent. well, talk to the owner of the turnip so that your key is added

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question