in reply to SSH::Expect on Webpage

You don't state what platform you are running on. If you are running under windows, you will find that CGI is most likely setup to run as the "nt authority\system" user by default. When you are running as the "nt authority\system" user, you don't have network access which will preclude you from successfully running your script. Even if you are running under Linux / Unix you should still check which user your script is running as and what permissions they have.

Replies are listed 'Best First'.
Re^2: SSH::Expect on Webpage
by brumleyscott (Initiate) on Aug 02, 2008 at 13:46 UTC
    I'm an equal opportunity code monkey. ;) Either is fine by me. My preference is Linux and I thought it would easier under Linux. It is trying to run as apache. Every combination I have tried of permissions has failed to produce fruit, so I thought I might be missing something. Do I need to try chmod u+s and add root as one the user or the group? Sincerely, Scott