Re: rsync do shell script password..
Re: rsync do shell script password..
- Subject: Re: rsync do shell script password..
- From: Simon Forster <email@hidden>
- Date: Thu, 13 Sep 2007 09:24:23 +0100
On 13 Sep 2007, at 09:00, Wayne Melrose wrote:
On 13/09/2007, at 9:50 AM, Axel Luttgens wrote:
According to rsync's man page, 1. and 2. only apply when syncing
to a remote rsync server, not when running rsync over a remote shell.
Put in other words, 1. and 2. store a password used to
authenticate against a remote rsyncd daemon, not to authenticate a
remote user.
That's what I thought would be the case, so I was kinda hoping that
applescript would have a method of applying the remote servers
password.. (Maybe something similar to using username and password
to perform Administrator Privs on local shell script commands)
I imagine that Chris Nebel, if he were awake, would raise the spectre
of Expect (expect − programmed dialogue with interactive programs
[man expect]) to achieve your stated goal. Personally I've gone the
somewhat insecure route of setting up ssh keys without a password
(which actually seems more secure than relying solely on passwords
given the prevalence of dictionary attacks - although keys and
passwords obviously are the best way to go). It's reasonably trivial
to set up ssh to use keys - but you stated that usage was in a larger
AppleScript (which may be distributed to many?), so this approach may
not fly.
How many files are you syncing across? What's the total size? Would
FTP better serve your needs?
Simon Forster
__________________________________________________
LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
Tel: +44 20 7993 8813 Fax: +44 70 9230 5247
__________________________________________________
_______________________________________________
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