Re: Net::OpenSSH failing in CGI

2012-06-27 Thread Rajeev Prasad
 -o => 'ConnectTimeout 60'],         ); # ls -l /home|grep open drwxrwsr-x  2 www-data www-data 4096 2012-06-27 21:54 openssh_lib_home - Original Message - From: Rajeev Prasad To: perl list Cc: Sent: Wednesday, June 27, 2012 4:13 PM Subject: Net::OpenSSH failing in CGI

Net::OpenSSH failing in CGI

2012-06-27 Thread Rajeev Prasad
my $ssh = Net::OpenSSH->new($host,         user => "abc123",         ctl_dir => "/var/www/mysite.com/www/openssh_lib_home/"         ); ssh is not happening, when i catch the error, i get below: error:  ctl_dir /var/www/mysite.com/www/openssh_lib_home/ is not secure folder is : $ ls -l /var/ww