Re: rsync do shell script password..
Re: rsync do shell script password..
- Subject: Re: rsync do shell script password..
- From: Wayne Melrose <email@hidden>
- Date: Thu, 13 Sep 2007 13:19:00 +0200
On 13/09/2007, at 1:12 PM, Mark J. Reed wrote:
The usual approach here would probably be to set up an SSH keypair and
install the "keychain" program (not Apple's KeyChain) to keep the key
active for non-interactive shells. But that's a lot of setup work.
If rsync is actually using rsh instead of ssh, you could set up a
.rhosts file on the remote system to allow connections without a
password, but that's generally a really bad idea securitywise.
So yeah, I'd use expect to script the interactive interaction with
rsync.
Funny,
Reading this was like reading everything I found with google
searches, that's meant as a compliment :) and it also confirms what
I thought. :) Yeah, the idea is to try and leave the remote server
alone, as this host script that I'm building will be distributing
(and sync-ing) to many :)
Thanks
wayne
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden