[Bioc-devel] Trying to clone my repo but my key is not recognized.

Martin Morgan martin.morgan at roswellpark.org
Tue Aug 22 12:45:33 CEST 2017

On 08/22/2017 06:07 AM, Joris Meys wrote:
> As said, this is what I got after
> git fetch upstream
> As per instructions here: 
> http://bioconductor.org/developers/how-to/git/maintain-github-bioc/ (I 
> did carry out the previous steps as well).

I guess I'm looking for more information, for instance you don't mention 
what package you're working with! The svn user formerly known as j.meys 
is associated with packages/unifiedWMWqPCR, and with the public key 
starting with


maybe you could confirm that the remote you've added is correct by reporting

    git remote -a

and that you can check out the repository directly

   cd /tmp
   git clone git at git.bioconductor.org:packages/unifiedWMWqPCR

to confirm that the ssh key exchange is working correctly.

A possible problem is that you have several ssh keys on your machine, 
and git is using the wrong one. On linux (what operating system are you 
on?) one could edit ~/.ssh/config to contain an entry like

   Host git.bioconductor.org
   	IdentityFile ~/.ssh/id_rsa_corresponding_to_submitted_key.pub

In a bash shell you can see the ssh exchange with

   GIT_SSH_COMMAND="ssh -v" git pull

which toward the top might indicate where it fails to find the correct 
ssh key.

You can also use the form https://goo.gl/forms/97Cf3zFgyQwG76lw1 to 
submit additional ssh keys (1 per request); these requests are processed 
'by hand' so involve a lag of about 24 hours.


> Cheers
> Joris
> On Tue, Aug 22, 2017 at 11:24 AM, Martin Morgan 
> <martin.morgan at roswellpark.org <mailto:martin.morgan at roswellpark.org>> 
> wrote:
>     On 08/22/2017 04:59 AM, Joris Meys wrote:
>         Hi,
>         I sent my public key as registered in my github account to you a
>         while ago,
>         but when I tried to clone my repository, I get the following
>         error message
>         after git fetch upstream:
>         -----
>         The authenticity of host 'git.bioconductor.org
>         <http://git.bioconductor.org> (' 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
>         <http://git.bioconductor.org>,' (ECDSA) to
>         the list of known hosts.
>         Permission denied (publickey).
>         fatal: Could not read from remote repository.
>         Please make sure you have the correct access rights and the
>         repository
>         exists.
>         -----
>         I've been googling and hurting my brain to figure out what I did
>         wrong, but
>         I honestly don't have a clue. Can anyone tell me how I can solve
>         this?
>     can you show the command that you are using to (try to) clone your
>     repository?
>         Cheers
>         Joris
>     This email message may contain legally privileged and/or
>     confidential information.  If you are not the intended recipient(s),
>     or the employee or agent responsible for the delivery of this
>     message to the intended recipient(s), you are hereby notified that
>     any disclosure, copying, distribution, or use of this email message
>     is prohibited.  If you have received this message in error, please
>     notify the sender immediately by e-mail and delete this email
>     message from your computer. Thank you.
> -- 
> Joris Meys
> Statistical consultant
> Ghent University
> Faculty of Bioscience Engineering
> Department of Mathematical Modelling, Statistics and Bio-Informatics
> tel : +32 9 264 59 87
> Joris.Meys at Ugent.be
> -------------------------------
> Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php

This email message may contain legally privileged and/or...{{dropped:2}}

More information about the Bioc-devel mailing list