Remote Scripting

Hi everyone,

I have tried to find the answer to this but seems that it has not beeen posted yet …

I am trying to make a script that comunicates with another Mac (10.4.6). So I created an account name toto with a password toto on the machine 10.1.16.170 and activate apple events in the sharing preferences.

the script is :

tell application “Terminal” of machine “eppc://toto:toto@10.1.16.170”
set myip to (do shell script “ipconfig getifaddr en0”)
end tell
tell application “Finder”
display dialog myip
end tell

but it refuses to work telling me that the user cannot be authenticated.

Any idea ?

thanks,

Marc

Moving to OS X forum.