March 2

Copying Files Between Local Computer and Instance (AWS)

To copy files between your computer and your instance you can use an FTP service like FileZilla or the command scp which stands for secure copy.

To use scp with a key pair use the following command:

$ scp -i path/to/key file/to/copy

To use it without a key pair, just omit the flag -i and type in the password of the user when prompted.

To copy an entire directory, add the -r recursive option:

scp -i path/to/key -r directory/to/copy

Send us a message. We will reply as soon as we can.