AnsweredAssumed Answered

FMS Script Schedules System Script SSH

Question asked by khalex1968 on Oct 10, 2018
Latest reply on Oct 15, 2018 by khalex1968


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, 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

end tell