If you already connect from your Mac to a Linux Amazon EC2 instance with an SSH key pair, scp is the simplest tool for a one-time file transfer. It uses the same SSH connection, identity, and network path. One detail matters: your private key stays on the Mac .

Source: [Dev.to](https://dev.to/mike_anderson_d01f52129fb/copy-files-between-a-mac-and-aws-ec2-with-scp-3gem)

Sponsored