Posted by R-H on January 17, 2010 at 4:18am
Can anyone please share the unix command to transfer files between instances?
I'm guessing that it would be scp but I can't figure it out.
I would like to transfer my themes directory from one instance to another.
Thank you
Comments
scp is the command
Hello,
To copy a file from one instance to another, either:
add your ~/.ssh/id_rsa.pub file on computer and account you want to send from to the ~/.ssh/authorized_keys file on the computer and account that you want to send to
or
if you have your ec2-keys on the sending server, use: ssh -i /path/to/ssh-keys file user@remote_server_ip:~/
Hope this helps,
Greg
--
Greg Coit
Systems Administrator
http://www.chapterthree.com