How to copy files from linux ec2 to your desktop?

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/

 

669 total views, 2 views today

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.