Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
02-24-2012, 03:17 PM #1
- Join Date
- Feb 2012
- Thanked 0 Times in 0 Posts
not able to ssh to other server from CGI script
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?