There is a need to create the SSH tunnel to remote base of MySQL. The script which creates connection is written and works. But in case of start by means of Script Schedules creation of the tunnel does not happen. As I understand a problem is connected to access rights. Permissions for files and folders set. But does not work... How to force to work? FMS 22.214.171.124, Mac OS 10.13.6
set ScriptCommand to "ssh -i '/Library/FileMaker Server/Data/Scripts/.ssh/id_rsa' -f SSHaddress -L 3307:MySQLaddress:3306 -N"
tell application "Terminal"
do script with command ScriptCommand