Folks,
I created a script that retrieves a result from a specific website. This site requires authentication, so I am using lynx with its scripting funcionality (cmd_log / cmd_script parameters). The Lynx automated script itself saves the result page into a file, so it's not necessary to use dump or any sort of redirection of standard output to a file.
Here is the main line:
lynx -cmd_script=/path/thescript.lynx theurl 1>> /dev/null
The script works fine. But when I run the script through another server via SSH (ssh -x -q user@server "/path/script.sh") the script hangs in the lynx line. Something is wrong with the lynx automation... I tried to use -dump, it worked fine (it dumped the authentication page, of course).
Any clue?