W
W
WiNNeR_tig2021-10-23 20:13:03
git
WiNNeR_tig, 2021-10-23 20:13:03

Downloading from bitbucket.org for composer, getting Permission denied (publickey) error.?

Trying to load bitbucket.org projects
my composer.json:
617441af4c1be183881615.png
When I try to update, I get an error:
617442100a425067062297.png

[RuntimeException]                                                                           
  Failed to execute git clone --mirror -- '[email protected]:ma/db.git' '/var/www/site
  /data/.cache/composer/vcs/git-bitbucket.org-ma-db.git/'                         
                                                                                               
  Permission denied (publickey).                                                               
  fatal: Could not read from remote repository.                                                
                                                                                               
  Please make sure you have the correct access rights                                          
  and the repository exists.


Copy like this:
git clone https://bitbucket.org/ma/db
succeed, project not closed

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2021-10-24
@karabanov

Add your public SSH key to bitbucket.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question