ME-ICA / ME-ICA/open-multi-echo-data
Having trouble configuring G-Node GIN with SSH
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
I created an SSH key and added it to my G-Node GIN user settings, but for some reason I can't push to it from the UPenn HPC.
Steps to reproduce:
dataset_id="ds002156"
base_dir="/cbica/home/salot/open-multi-echo-data/datasets"
superdataset_dir=${base_dir}/${dataset_id}_test
raw_dataset_dir=${superdataset_dir}/inputs/data
code_dir="/cbica/home/salot/open-multi-echo-data/code/code"
# Create the YODA superdataset
datalad create -c yoda \
-D "Create superdataset for OpenNeuro dataset ${dataset_id}" \
"${superdataset_dir}"
cd ../../datasets/ds002156_test/
# Clone the dataset
datalad clone -d ${superdataset_dir} \
-D "Clone of OpenNeuro dataset. May be modified for fMRIPrep/AFNI and pushed to G-Node GIN." \
https://github.com/ME-ICA/${dataset_id}.git ${raw_dataset_dir}
# Download the files
cd ${raw_dataset_dir}
datalad get ${raw_dataset_dir}
# Create the GIN repo (this works)
datalad create-sibling-gin \
--access-protocol ssh \
--dataset ${raw_dataset_dir} \
--credential GIN \
ME-ICA/${dataset_id}_raw
# Try to push the data to GIN
datalad push -d ${raw_dataset_dir} --to gin
This gets me the following error:
Push to 'gin': 25%|██████████████████████████████▎ | 1.00/4.00 [00:00<00:00, 6.29k Steps/s]ssh_exchange_identification: Connection closed by remote host
Update availability for 'gin': 75%|██████████████████████████████████████████████████████████████████████████████▊ | 3.00/4.00 [00:00<00:00, 5.12k Steps/s]CommandError: 'git -c diff.ignoreSubmodules=none -c core.quotepath=false fetch gin git-annex' failed with exitcode 128
ssh_exchange_identification: Connection closed by remote host
ConnectionOpenFailedError: 'ssh -fN -o ControlMaster=auto -o ControlPersist=15m -o ControlPath=/cbica/home/salot/.cache/datalad/sockets/... git@gin.g-node.org' failed with exitcode 255 [Failed to open SSH connection (could not start ControlMaster process)]
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by rerunning the documented DataLad setup and push commands on the UPenn HPC, then inspect the SSH and DataLad connection output around gin.g-node.org. Compare the configured GIN repository and SSH access with the failing ControlMaster connection. Done means the dataset can push to the GIN sibling successfully without the connection error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, shell
- Domain
- cli, devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100