shntnu
2/28/2017 - 9:18 PM

Specify identity file (id_rsa) with rsync

Specify identity file (id_rsa) with rsync

rsync -arzv \
  -e "ssh -i /absolute_path/identity_file.pem" \
  remoteuser@remotehost:/remote/dir /this/dir/ 
  
#http://unix.stackexchange.com/questions/127352/specify-identity-file-id-rsa-with-rsync