ssh - How can I rsync/scp files/folders among EC2 servers? -
i tried execute scp/rsync command between 2 of ec2 servers got error low snapshot.
normally when ssh connect servers via putty, need attach private key. can guess command requiring keys.
i don't know how add key in command. please help!

man scp display option -i:
-i identity_file selects file identity (private key) rsa authentication read. option directly passed ssh(1). since option passed ssh (as noted above), can passed rsync: -e "ssh -i /path/to/private/key"
Comments
Post a Comment