不能在两个ec2实例之间进行rsync

时间:2013-11-20 20:28:41

标签: amazon-ec2 rsync

有没有办法在两个ec2实例之间进行rsync?我发现了这个Rsync to Amazon Ec2 Instance,但它从本地到ec2实例。这是命令

rsync -av --progress data/* root@ipaddress:(path to folder)

错误

Failed to add the host to the list of known hosts.
Permission denied (publickey).
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]

0 个答案:

没有答案