• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTask task to rsync with ssh cert authentication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


On 7 Aug 2014, at 4:34 am, Jeff Dyck <email@hidden> wrote:

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.

-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>

 _______________________________________________
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

References: 
 >NSTask task to rsync with ssh cert authentication (From: Jeff Dyck <email@hidden>)
 >Re: NSTask task to rsync with ssh cert authentication (From: Shane Stanley <email@hidden>)
 >Re: NSTask task to rsync with ssh cert authentication (From: Jeff Dyck <email@hidden>)
 >Re: NSTask task to rsync with ssh cert authentication (From: Jeff Dyck <email@hidden>)

  • Prev by Date: Re: NSTask task to rsync with ssh cert authentication
  • Next by Date: Trying to create an sdef
  • Previous by thread: Re: NSTask task to rsync with ssh cert authentication
  • Next by thread: displayed path in finder OS X
  • Index(es):
    • Date
    • Thread