Skip to content

[Bioc-devel] Git permission denied (publickey)

6 messages · Andrea Rau, Turaga, Nitesh, Sebastian Gibb +1 more

#
Hello,
A few days ago I submitted my GitHub id andreamrau (since GitHub knows my SSH key) and my SVN id (a.rau) using the Git/SVN transition form, and I still seem to be having difficulty accessing my packages coseq and HTSFilter. I see the following message when I try to git clone one of my packages:

Permission denied (publickey).
fatal: Could not read from remote repository

Could you let me know if there's something I have done incorrectly with the transition form?

Thanks very much for the help,
Andrea
#
Your key is in the system. 

Please send a list of commands you are trying along with the result.

Also send the output for 

	`git remove -v`

Best,

Nitesh
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.
#
Dear Biocondcutor admins,

I am the maintainer of the cleaver package (and a co-maintainer of MSnbase,
Pbase, synapter). As many other user mentioned here I got the same "permission
denied (publickey)" error message. I already submit my mail address, svn
username and github id via the google form.

My mail address: mail at sebastiangibb.de
Svn username: s.gibb
GitHub ID: sgibb
(public key is available via https://github.com/sgibb.keys )

I tried:
git clone git at git.bioconductor.org:packages/cleaver
Cloning into 'cleaver'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

My .ssh/config (same as for github but hostname differs):

Host bioconductor.org
  Hostname bioconductor.org
  User git
  IdentityFile /home/sebastian/.ssh/sgibb at github:id_rsa
  PreferredAuthentications publickey

Anything else I could do?

Best wishes,

Sebastian
On 2017-10-09 22:22:19, andrea.rau at inra.fr wrote:
#
On 10/10/2017 04:43 PM, Sebastian Gibb wrote:
I believe that should be git.bioconductor.org

You can also see the ssh transaction and (when successful) permissions with

ssh -v git at git.bioconductor.org/packages/cleaver

Martin
This email message may contain legally privileged and/or...{{dropped:2}}
#
On 2017-10-10 22:48:43, martin.morgan at roswellpark.org wrote:
Great, thanks! Sorry, such an obvious error!

Best wishes,

Sebastian
9 days later
#
Hi Nitesh,

Thanks for the quick reply -- after reading through the exchanges on the list over the past week, I realized that my problem was related to the fact that my SSH keys were named github_rsa and github_rsa.pub (rather than id_rsa and id_rsa.pub). I added a config file (as suggested by the FAQ #15 at http://master.bioconductor.org/developers/how-to/git/faq/) in ~/.ssh/ with the following text:

host git.bioconductor.org
    HostName git.bioconductor.org
    IdentityFile ~/.ssh/github_rsa
    User git

And now everything seems to be working just fine.

Thanks again,
Andrea

-----Message d'origine-----
De?: Turaga, Nitesh [mailto:Nitesh.Turaga at RoswellPark.org] 
Envoy??: lundi 9 octobre 2017 23:12
??: Andrea Rau <andrea.rau at inra.fr>
Cc?: bioc-devel at r-project.org
Objet?: Re: Git permission denied (publickey)

Your key is in the system. 

Please send a list of commands you are trying along with the result.

Also send the output for 

	`git remove -v`

Best,

Nitesh
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.