Re: NSTask task to rsync with ssh cert authentication
Re: NSTask task to rsync with ssh cert authentication
- Subject: Re: NSTask task to rsync with ssh cert authentication
- From: Shane Stanley <email@hidden>
- Date: Thu, 07 Aug 2014 09:51:10 +1000
Well, it’s not ideal, but I think I’ve got this working
That's good news. -- Create the Environment settings to use SSH Key
set env to current application's NSMutableDictionary's alloc()'s init() set sshCmd to ("ssh -i \”/path/to/certificate\"") env's setObject:sshCMD forKey:”RSYNC_RSH"
FYI, that can probably be simplified to:
set env to {RSYNC_RSH:"ssh -i \"/path/to/certificate\""}
The scripting bridge should do the conversion to a dictionary for you.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden