I got this error.
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads ssh://git@github.com/ethereumjs/ethereumjs-abi.git
Directory: /Users/bernardo/Desktop/Africaswap/AfricaswapNFT
Output: Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
Welcome to the community 🙂
For cloning repositories to local, you need to have atleast read access for the repository.
Now if you are using token for cloning the repo, make sure you have Correct scope set atleast to clone the repo!
And use the command
git clone https://username:token@bitbucket.org/workspace-name/repo-name.git
Try and let me know
Thanks,
Pramodh
Seems like you are using GitHub repo link to download the repo!!
You should have added the SSH Key to you personal account and have the access
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much for your valuable time. I have admin access to this repo.
git clone https://username:token@bitbucket.org/workspace-name/repo-name.git
This is useful but I can not understand how can I get the token or which token should I use here. Please help me on that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To clone the repository, for the token part, I'd like to recommend you to generate an app password by following the steps from our documentation: https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/
Please let us know how it goes.
Best Regards,
Norbert
Atlassian Bitbucket Cloud Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I setup SSH exact step by step through docs, I need to run yarn cache clean. Then yarn install works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your reply. In case you've created the app password, you can clone the repostiroy the following way:
git clone https://yourusername:yourapppassword@bitbucket.org/workspace-name/repo-name.git
Please let us know how it goes.
Best Regards,
Norbert
Atlassian Bitbucket Cloud Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
git clone https://yourusername:yourapppassword@bitbucket.org/workspace-name/repo-name.git
It works also.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.