0

I have a large file to down form a ssh server, however the connection keeps cutting out. I know that rsync can be used to resume the download however I can not find how to do this when I am using a .pem file.

So my current download command is:

scp -i repo.pem user@00.00.00.00:/home/user/file.img .

how would I intergrate this with rsync?

1 Answer 1

0

Some articles touching on this issue:

Basically, supply a custom ssh command to rsync using -e, i.e. something along these lines:

rsync -ave "ssh -i my.pem" user@server:/path/to/file .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.