hawihoney Posted February 23, 2018 Posted February 23, 2018 I would need to start several rsync jobs in order. I issue these commands on a backup machine. For all rsync jobs I need to enter the same password. Currently I copy/paste every rsync command into the console and manually feed the password - daily. Is there a better - NOOP-compatible - way? Hopefully that way survives an unRAID reboot: For example: rsync -avPX --protect-args -e ssh "[email protected]:/mnt/user/Documents/*" /mnt/user/Documents/ rsync -avPX --protect-args -e ssh "[email protected]:/mnt/user/Pictures/*" /mnt/user/Pictures/ rsync -avPX --protect-args -e ssh "[email protected]:/mnt/user/Pictures Favorites/*" /mnt/user/Pictures\ Favorites/ rsync -avPX --protect-args -e ssh "[email protected]:/mnt/user/Programs/*" /mnt/user/Programs/ Any help is highly appreciated. Many thanks in advance.
John_M Posted February 23, 2018 Posted February 23, 2018 https://stackoverflow.com/questions/3299951/how-to-pass-password-for-rsync-ssh-command
hawihoney Posted February 23, 2018 Author Posted February 23, 2018 Under that link is another link. There I find steps that generate key files for SSH. Where do I need to copy those files on unRAID for the next reboot. TIA
Recommended Posts
Archived
This topic is now archived and is closed to further replies.