Answers for "send files to ec2"

1

send file to aws ec2 termnal

// To copy one file
scp -i path/to/key file/to/copy [email protected]:path/to/file

// To copy an entire directory
scp -i path/to/key -r directory/to/copy [email protected]:path/to/directory
Posted by: Guest on May-10-2020
0

upload a file to ec2 instance

$scp -i ~/Desktop/amazon.pem ~/Desktop/MS115.fa  [email protected]:~/data/
Posted by: Guest on June-10-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language