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 email@example.com:/home/user/file.img .
how would I intergrate this with rsync?