All, I'm trying to connect to a remote rsync server. ie. It is running rssh as the shell and rsync is one of the few allowed programs to run.
From my local machine I can invoke rsync and it connects and rsync asks me for a password. I provide it an all proceeds fine.
I need this to work from a script. So I'm trying to use the RSYNC_PASSWORD environment variable to pass in the password but it is not working. My simple test script is: == #!/bin/sh RSYNC_PASSWORD=<my_password> export RSYNC_PASSWORD echo RP = $RSYNC_PASSWORD rsync -avh --delete --stats --max-size=100M --links --timeout=600 /$BACKUP_PATH/config-enc-raw /$BACKUP_PATH/srv-enc-raw b291007@backup.abc.com:mach1/ == Am I missing something? the echo is working fine. FYI: by chance the password I'm trying starts with a shell special char, but I can't see why that would be an issue since the echo works. Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org