Hello, i am also trying to setup a ssh from an apple script
My Reason for this is i need to have remote connectivity for RD to remote hosts behind various different networks, my plan is to use ARD and SSH port forwarding from the clients to allow me to RD to their machnes.
My issue is i do not want my clients to have Terminal access, which is where the apple script comes in.
My current issue is getting the AS to no lock up after the connection is established, i am using P/P keys to handle the authentication.
My apple script so far asks for a command to run, with a default answer of a script that contains the correct ssh command and flags.
Right now it creates the tunnel and locks up until i kill the tunnel via CLI with the kill command.
I guess the short version of my question is:
How do i form an apple script to run a bash script in the back ground, while also opening a dialog of some kind that allows me to kill the process in the script.
PS: i know basic OO programming and can Bash/awk script, but have zero experience with apple script