How to SCP a file into EC2 Instance (SCP)

scp -i  /path/to/file.pem  /file.rpm  ec2-user@ec2-54-xxx-xxx-168.us-west-2.compute.amazonaws.com:~/.

where

/path/to/file.pem is path to your key-pair file

file.rpm is the file you want to transfer


No comments:

Post a Comment