Rails Mania
Hot topics of Ruby on Rails - Learn, Share, Discuss and much more....
Pages
Home
About Us
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
For more Details of options visit :
http://www.computerhope.com/unix/scp.htm
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment