Expect script work locally but not when called remotely via SSH
My expect script expect-script.txt.txt runs fine when launched locally, but when I launch it from a remote server I get errors suggesting that the paths of the files are invalid. expect-error.txt.
I am clueless as what needs to be added to make this work ...
Thanks in advance for your help.
Shell ScriptingLinux
Last Comment
CRC64
8/22/2022 - Mon
Gary
Its saying there is no file or directory called autosave_list
Is there?
CRC64
ASKER
Here there is.
The script works locally perfectly ...
The error about the file is only when launched remotely
Gary
Confused. Are you trying to run this script on a remote server or trying to run it from a remote server
Is there?