Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.17 KB

copy_files_local_to_cloud.md

File metadata and controls

29 lines (23 loc) · 1.17 KB

Copy Files from Local Computer to Cloud Computer

  • copy files from local computer to AWS, Paperspace, Google Cloud, etc
  • copy files from cloud computer to local
  • copy files from local computer to remote machine

Reference

fastai Forum thread

Defintion

scp = secure copy

General Syntax

scp -i "path to .pem file" "file to be copied from local machine" username@amazoninstance: 'destination folder to copy file on remote machine'

Examples

scp -r . [email protected]:~/data/camelhorse 
scp -i "path to .pem file" "file to be copied from local machine" username@amazoninstance: 'destination folder to copy file on remote machine'
scp -i .ssh/aws-key-fast-ai.pem 
[email protected]:~/nbs/Notebooks/Weights/Predictions/test_preds_rms.dat ~/test_preds_rms.dat