Transfering Files Between Instances

Events happening in the community are now at Drupal community events on www.drupal.org.
R-H's picture

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

Greg Coit's picture

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

Amazon Web Services (S3, EC2)

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: