The CGI running user may not have access to the private key (or it may not be where you think it is). To verify, try reading the key file independently in your script before letting Net::OpenSSH at it.
Please use code tags in future when posting code. Your message above is close to illegible without them. See Markup in the Monastery for details.
In reply to Re: Not able to run remote scipt from perl CGI script
by hippo
in thread Not able to run remote scipt from perl CGI script
by huzefa52
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |