courtois-neuromod / cneuromod_docs

Documentation of the Courtois NeuroMod project
http://docs.cneuromod.ca/
Other
6 stars 11 forks source link

Issue when git cloning with SSH #68

Closed jcohenadad closed 2 years ago

jcohenadad commented 2 years ago

Hello!

I wanted to install cneuromod data as per the doc. What I did / What I got:

p101317@joplin:~/data_nvme_p101317$ datalad install -r git@github.com:courtois-neuromod/cneuromod.git
Clone attempt:   0%|                                                                     | 0.00/1.00 [00:00<?, ? Candidate locations/s]git@github.com: Permission denied (publickey).
install(error): /home/GRAMES.POLYMTL.CA/p101317/data_nvme_p101317/cneuromod (dataset) [Failed to clone from all attempted sources: ['git@github.com:courtois-neuromod/cneuromod.git']]
[ERROR  ] ValueError(No installed dataset found at /home/GRAMES.POLYMTL.CA/p101317/data_nvme_p101317/cneuromod.) (ValueError) 

Note: I think I have the proper git creds:

p101317@joplin:~/data_nvme_p101317$ git config --global user.name 
jcohenadad
p101317@joplin:~/data_nvme_p101317$ git config --global user.email
jcohen@polymtl.ca

And I also have the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY set.

Note: using HTTPS git clone works fine:

p101317@joplin:~/data_nvme_p101317$ datalad install -r https://github.com/courtois-neuromod/anat.git
[INFO   ] scanning for unlocked files (this may take some time)                                                                        
[INFO   ] Remote origin not usable by git-annex; setting annex-ignore                                                                  
[INFO   ] Configured RIA store not found at ria+file:///data/neuromod/ria-sequoia 
[INFO   ] access to 2 dataset siblings ria-beluga-storage, cneuromod.anat.mri.sensitive not auto-enabled, enable with:
|       datalad siblings -d "/home/GRAMES.POLYMTL.CA/p101317/data_nvme_p101317/anat" enable -s SIBLING 
install(ok): /home/GRAMES.POLYMTL.CA/p101317/data_nvme_p101317/anat (dataset)
[INFO   ] Installing Dataset(/home/GRAMES.POLYMTL.CA/p101317/data_nvme_p101317/anat) to get /home/GRAMES.POLYMTL.CA/p101317/data_nvme_p101317/anat recursively 

Possibly related to https://github.com/courtois-neuromod/cneuromod_docs/issues/22

jcohenadad commented 2 years ago

my bad, i had not set up my SSH key on my GH account for that particular station 😬