Rails Mania
Hot topics of Ruby on Rails - Learn, Share, Discuss and much more....
Pages
Home
About Us
Showing posts with label
EC2
.
Show all posts
Showing posts with label
EC2
.
Show all posts
Thursday, May 15, 2014
Copy a file from your system to EC2 Server with port and pem file
Here is command for Copying a file from your system to EC2 Server with port and pem file:
scp -P <PORT> -i xyz.pem /home/user/file.txt ec2-user@host:/home/ec2-user/
Below are the all available options that you can use based on your requirements:
scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 ... [[user@]host2:]file2
Read more »
Older Posts
Home
Subscribe to:
Posts (Atom)