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
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