SCP to EC2 instance

PHOTO EMBED

Mon Apr 19 2021 13:40:51 GMT+0000 (UTC)

Saved by @ankity09 #aws

scp -i /directory/to/abc.pem /your/local/file/to/copy  user@ec2-xx-xx-xxx-xxx.compute-1.amazonaws.com:path/to/file
content_copyCOPY

provide .pem file, file location and EC2 destination path