Re: A (fairly simple?) request from a novice scripter...
Re: A (fairly simple?) request from a novice scripter...
- Subject: Re: A (fairly simple?) request from a novice scripter...
- From: Steve Thompson <email@hidden>
- Date: Thu, 03 May 2012 23:04:09 +0100
On 03/05/2012 20:45, SCOTT WYANT wrote:
I can, if necessary, eliminate the
password from the account so that step 3 goes away. I think.
If you can remove the password then you don't even need to open
Terminal to do this. The easiest way to remove the password would be
to use certificate based authentication - it's quite straightforward
to set up. Google "key based ssh authentication os x" - here's an
Apple article on it:
http://developer.apple.com/library/mac/#documentation/MacOSXServer/Conceptual/XServer_ProgrammingGuide/Articles/SSH.html
Once you've done that your AppleScript becomes
do shell script "ssh myserver -l myuser open -a iTunes"
And that's it.
Steve
|
_______________________________________________
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