How to copy files from linux ec2 to your desktop?

How to copy files from linux ec2 to your desktop?

Please install Mobaxterm software, which is available here, this software is available for both community and premium versions.

You will be able to download the files from aws ec2 linux machine to your local desktop system using free community version itself.

Command Syntax:
scp -i DOCKER-PEM-FILE-PATH AWS-EC2-ID:/ec2-path/* /home/mobaxterm/Desktop/

 

This command copies all the ec2-path folder data to your local system’s desktop location.

Example:
scp -i aws-pair.pem ec2-user@ec2-1-2-3-4.us-2.compute.amazonaws.com://YOUR_FOLDER/YOUR_FILE /home/mobaxterm/Desktop/

 

Leave a Reply