Need help with SCP and do Shell script
Need help with SCP and do Shell script
- Subject: Need help with SCP and do Shell script
- From: Bernardo Höhl <email@hidden>
- Date: Fri, 25 Jan 2008 19:18:11 -0200
Hi list,
I have to copy a few folders from my Mac to many new macs. One machine
at a time.
One solution I found was to use a "do script with command" that forces
terminal to open a new window for each command, also makes me manually
type "yes" for acceptance of adding the new machine to "knowhosts"
file, followed by typing the remote's user password.
Puting an ssh key in the remote machine is not possible.
I pass the ip address to the scp string also manually in a displayed
dialog.
I wish I could enhance my script by passing the remote's password in a
do shell script command, without opening the terminal window, also
overiding the prompt for acceptance of the new machine into
"knownhosts".
I would be very happy to read your comments, and new approaches are
very welcome.
Thanks very much!
Best regards,
Bernardo Hohl
Rio de Janeiro - Brasil
=====================
_______________________________________________
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