Click to See Complete Forum and Search --> : perl script (CGI) with ssh


rei
08-09-2004, 09:51 PM
i'm building a CGI program with perl.

My perl script needs to ssh to a remote host and get some data from it, and display it on the web.

However, none of any data is retrieved.
I worked this on another machine and it works, but not on my machine.

I checked logs from apache, and got the following.
Could not create directory '/nonexistent/.ssh'

ssh_exchange_identification: Connection closed by remote host

I guess there must be something wrong within ssh.

Can anyone tell me what condition or what should i do to enable ssh works properly?

thanks

silent11
08-10-2004, 07:56 AM
http://search.cpan.org/search?query=net%3A%3Assh&mode=all