Re: Do shell script on a remote machine
Re: Do shell script on a remote machine
- Subject: Re: Do shell script on a remote machine
- From: Chris Janton <email@hidden>
- Date: Thu, 05 Feb 2004 09:03:40 -0700
On Feb 4, 2004, at 10:23 PM, Rob Jorgensen <email@hidden> wrote:
using terms from application "Finder"
tell application "Finder" of machine "eppc://user:email@hidden"
do shell script "date"
end tell
end using terms from
This works just fine. Of course having user/password combinations
living in scripts is a bit, uhh, well.
You could also issue remote commands from your local machine like this
ssh some.host.name some-command
If you have established your credentials - see hints and notes
discussing ssh and "password-less" connections at www.macosxhints.com
http://www.macosxhints.com/article.php?story=20011207004643312
please be aware of the security issues! If you use the ssh method you
get the "advantage" of secure transmission of the data both directions.
Read the ssh man pages, etc.
Does anyone know if epcc: is simply clear-text transmission?
8)
----------------------------------
Chris Janton - face at CentosPrime dot COM
Netminder for Opus1.COM
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.