Skip to content

[Bioc-devel] Issue with connecting to 'git.bioconductor.org' during git fetch --all

2 messages · Krutik Patel (PGR), Nitesh Turaga

#
Hi Bioconductor,

Wanted to clarify a small issue before continuing with a package update.

I just added a new SSH key to biocredentials and my github account.
It seems to have worked fine, but I got a warning when I tried to fetch. I have copied the output from git remove -v and git fetch --all below.

Is there something else I need to do before continuing with merging the upstream and master braches?

Best,

Krutik

$ git remote -v
origin git at github.com:Krutik6/TimiRGeN.git (fetch)
origin git at github.com:Krutik6/TimiRGeN.git (push)
upsteam git at git.bioconductor.org:packages/TimiRGeN.git (fetch)
upsteam git at git.bioconductor.org:packages/TimiRGeN.git (push)

$ git fetch --all
Fetching origin
Warning: Permanently added the RSA host key for IP address '140.82.121.4' to the list of known hosts.
Enter passphrase for key '/home/krutik/.ssh/id_rsa':
Fetching upsteam
The authenticity of host 'git.bioconductor.org (34.192.48.227)' can't be established.
ECDSA key fingerprint is SHA256:nXILc5fVCnDfOID8HgPi+mSufGtr2JMYgnRa1JAQj/Q.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'git.bioconductor.org,34.192.48.227' (ECDSA) to the list of known hosts.
Enter passphrase for key '/home/krutik/.ssh/id_rsa':
Connection to git.bioconductor.org closed by remote host.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
error: Could not fetch upsteam
#
Most people don?t use passphrase for SSH keys on Bioconductor. But it seems like you do have one or your permissions for the SSH key pair you have are wrong. 

1. If you have a passphrase and forgot it, just make a new SSH key and add it to your BiocCredentials account.

2. If it?s a permissions issue with your SSH key pair, check #16 in the FAQ http://bioconductor.org/developers/how-to/git/faq/ <http://bioconductor.org/developers/how-to/git/faq/>. You can change permissions of your key and it should work. 

Best,

Nitesh