Go Back   CodingForums.com > :: Server side development > Perl/ CGI

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-24-2012, 03:17 PM   PM User | #1
ankit_talwar
New to the CF scene

 
Join Date: Feb 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
ankit_talwar is an unknown quantity at this point
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?
ankit_talwar is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:32 PM.


Advertisement
Log in to turn off these ads.