I seem to find it simpler to scp file to my other macs on the command line, so i came up with this action to send them to my other system from whereever i am.
requires
you will need to have successfully set up ssh keys and be able to get passwordless access to the system you are sending these files to.
it also makes it simpler if you have a host set up in the ~/.ssh/config file
mine looks like this
#_______
Host mini
HostName myserver.dyndns.net #this is an example hostname mine doesn’t resemble this at all
User kim
IdentityFile ~/.ssh/id_mini
#________
this also gives me the ability to login to this system with just the command ssh mini
you will need to use this command to generate the keys ssh-keygen
and you will need to change the location of where growlnotify is first. (use which growlnotify to find it ). i also use growlnotify to debug automater actions as its a simple way to get it to flash on the screen.
the workflow ------------
Get Selected Finder items
|
/
Run Shell Script (text , as arguments, /bin/bash )
for f in “$@”
do
/usr/local/bin/growlnotify -m “Secure Copy Started
$f”
scp -r “$f” mini:~/Desktop && /usr/local/bin/growlnotify -m “Secure Copy Complete
$f” || /usr/local/bin/growlnotify -m “Failed to copy $f”;
done