I need to get the result of a function in some remote unix machine,
i an on machine1
i need to get script.ksh result from machine two
what i use to do is ssh user@machine2
then i enter password
and then from machine2 i access the folder where the script is located and i execute it getting the result (is always a text string)
instead of having to log to the machine2 everytime i need the result, i would like to make the call directly from machine1, how can that be possible??