I am trying to clone this branch from GitHub. I use Ubuntu VM and typed in the terminal:
git clone --single-branch --branch python3 [email protected]:HaseloffLab/CellModeller.git
Output:
Cloning into 'CellModeller'...
The authenticity of host 'github.com (140.82.118.3)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,140.82.118.3' (RSA) to the list of known hosts.
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I also tried git clone -b <branch> <remote_repo>
and permission is denied.
From GitHub help page,
Cloning with SSH URLs
SSH URLs provide access to a Git repository via SSH, a secure protocol. To use these URLs, you must generate an SSH keypair on your computer and add the public key to your GitHub account. For more information, see "Connecting to GitHub with SSH"
When you git clone, git fetch, git pull, or git push to a remote repository using SSH URLs, you'll be prompted for a password and must provide your SSH key passphrase. For more information, see "Working with SSH key passphrases."
You can also use HTTPS URL to clone.
In your case it would be :
git clone -b python3 https://github.com/HaseloffLab/CellModeller.git
Read more about Cloning with HTTPS URL here.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments