Search code examples
amazon-web-servicesamazon-ec2scp

How to use SCP to copy file from my local system to remote AWS server


  • I have created a AWS server instance.
  • I have a pem file which i use to get access to the remote AWS through my local system terminal
  • I have saved the file pem file in /home/downloads/xxx.pem

  • I want to copy an image from location /home/images/image.jpg to the server at /images
  • I did some research on the google and found out it is done through SCP
  • I could not achieve the goal

How to use scp to copy an image from source( MY-Computer-Local ) to AWS(server)?

Thanks


Solution

  • 'You should keep that folder in your local D drive, and open that folder from AWS instance and drag & drop that folder'