(*
Save this as an application.
--CBT
*)

on run
	do shell script "
dns-sd -P \"name of server\" _daap._tcp local 3690 localhost 127.0.0.1 & 
PID=$! 
ssh -N user@server.example.com -L 3690:localhost:3689
kill $PID
"
end run

open remoteitunes in the applescript editor