cgi shell script: ssh not working
I'm writing my very first cgi shell script. The main purpose of this script is to execute remotely several scripts on several machines outside the server.
I was hoping to use ssh to launch these remote scripts when a user presses a button on my website. The cgi script looks something like....
#!/bin/sh
# Here's my first cgi script
echo "Content text/plain"
echo ""
....HTML language....
ssh user@remotebox1 "path/command"
ssh user@remotebox2 "path/command"
...HTML lang.....
However, nothing's happening. No error, nothing. Could someone with more experience please help me. Thanks
Kit
|