|
not able to ssh to other server from CGI script
Hi All,
I have designed a web tool in perl cgi in UNIX Solaris 10 platform.
According to my cgi script (in server A) it should execute a script (in server B) using ssh key authentication, but it is not.
And when I am trying to execute the command without cgi script, the script in server B is executing.
I am using following command
/usr/bin/ssh -i mykey -l <login_id> <hostname> /<path>/connection.sh
Can anyone help me on this? and tell me if I am missing any special configuration to be done to execute the script through CGI?
|