dib-lab / dib_rotation

Metagenomics DIB-lab rotation project
https://dib-lab.github.io/dib_rotation/
BSD 3-Clause "New" or "Revised" License
3 stars 8 forks source link

issue on "rotation project Find and download the data" page #56

Closed yuenchingshen closed 10 months ago

yuenchingshen commented 12 months ago

Transferring data from Farm to your computer

on macOS, if we scp -i /path/to/key/file username@farm.cse.ucdavis.edu:~/* ./ an error occure:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/Users/yuenchingshen/.ssh/id_rsa.pub' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "/Users/yuenchingshen/.ssh/id_rsa.pub": bad permissions
yc22@farm.cse.ucdavis.edu's password:

it works on macOS when:

cd .ssh

scp -i /path/to/key/file username@farm.cse.ucdavis.edu:~/2020_rotation_project/raw_data/\*.html ./