in reply to Re: Re: Re: Net::SSH::Perl shell vs web
in thread Net::SSH::Perl shell vs web

yes, the web user's .ssh directory didn't exist, and the web user didn't have enough rights to create it, so i got an error like this:
bash-2.05b$ perl vtadmin.cgi Content-Type: text/html <HTML><HEAD><TITLE>Remote Configure Test</TITLE></HEAD><BODY>creating +ssh connection<br> logging in<br> running command: ls -l<br> mkdir /home/httpd/vhosts/koolaid.com/.ssh: Permission denied at /usr/l +ib/perl5/site_perl/5.8.0/Net/SSH/Perl/Util/Hosts.pm line 50
so i created the .ssh directory and gave it the appropriate permissions and all was well (at least from the command line) after that point

i figured i was out of the woods when i found that, but i still get no output from the remote command when i run the script from the web browser

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Net::SSH::Perl shell vs web
by Anonymous Monk on Jan 20, 2004 at 12:52 UTC
    i gave up and went with telnet instead

    thanks anyway