Thread

Posted on Wed Apr 18 14:24:20 2007 by ponugoti
Using CGI Perl to execute unix cmd and capture it
Hi I am trying to connect to remote box using apache and with a webpage and CGI,perl and try executing cmds remotely and capture and show it back in the page.Getting a error message as shown below "Can't write to /.ssh/known_hosts2: Permission denied at /opt/perl_32/lib/site_perl/5.8.7/Net/SSH/Perl.pm line 372" can any buddy help me out in over comming this problem With regards Srikanth
Direct Responses: 5034 | Write a response
Posted on Tue May 1 20:23:39 2007 by ap in response to 4922
Re: Using CGI Perl to execute unix cmd and capture it
try to create a directory named ".ssh" in "/" with apache (if you're using apache as your httpd server of course) as the owner of the directory rgds, Agung
Write a response