Showing posts with label EC2. Show all posts
Showing posts with label EC2. Show all posts
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
How to SSH into EC2 Instance
ssh -i /path/to/publickey/file.pem ec2-50-xxx-x-xxx.us-west-2.compute.amazonaws.com
Subscribe to:
Posts (Atom)