WormBase / caltech-curation-services

Modular curation services for Caltech WormBase data
1 stars 0 forks source link

Allow scp/rsync from inside docker prod to push/pull inside docker dev #63

Closed azurebrd closed 11 months ago

azurebrd commented 11 months ago

From inside docker prod, this fails

scp -P 2022 expr.ace acedb@caltech-curation-dev.textpressolab.com:/usr/caltech_curation_files/
ssh: connect to host caltech-curation-dev.textpressolab.com port 2022: Connection refused lost connection

rsync -t -e 'ssh -p 2022' -r /usr/caltech_curation_files/pub/cgi-bin/data acedb@caltech-curation-dev.textpressolab.com:/usr/caltech_curation_files/pub/cgi-bin/data ssh: connect to host caltech-curation-dev.textpressolab.com port 2022: Connection refused rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: unexplained error (code 255) at io.c(235) [sender=3.1.3]

But from inside docker dev, can pull from prod rsync -t -e 'ssh -p 2022' -r acedb@caltech-curation.textpressolab.com:/usr/caltech_curation_files/pub/cgi-bin/data /usr/caltech_c uration_files/pub/cgi-bin/data

azurebrd commented 11 months ago

Works now, not sure why it wasn't working before