Send commands to remote machine with 'do shell script'
Send commands to remote machine with 'do shell script'
- Subject: Send commands to remote machine with 'do shell script'
- From: Alan Fairlie <email@hidden>
- Date: Tue, 29 Jul 2008 11:36:08 +1000
I have setup ssh to login in without asking for a password with dsa keys. Now I want to send commands to the remote machine. I have tried the following.
do shell script "ssh user@address ; ps"
But the 'ps' returns processes for the local machine.
I also want to be able to run apps remotely via applescript.
I can get it working with Tell Application "Terminal" using multiple 'do script's in window 1.
But l'd prefer to keep it enclosed in an applescript.
Any help would be greatly appreciated.
Thanks, Alan. |
_______________________________________________
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