How can i transfer files from Google Cloud Instance to AWS Instance

时间:2019-04-08 13:25:32

标签: amazon-web-services cloud gcloud file-transfer

How can I transfer files from google cloud instance to AWS instance, live transfer solution will be perfect if there is an option like this?

Thanks.

1 个答案:

答案 0 :(得分:0)

假设您要一次性复制文件,则可以使用推荐的scp复制文件。

scp -i awskey.pub sourceFile user@host:directory/targetFile

要执行此操作,您需要将您的公共ssh密钥复制到AWS,并将其与-i参数一起传递给scp。