hello can anyone help?

following is failing:

my $ssh = Net::OpenSSH->new($host,
        user => "abc123",
        ctl_dir => "/home/openssh_lib_home",
        key_path => "/home/openssh_lib_home/.ssh/",
        master_opts => [-o => 'StrictHostKeyChecking=no',
                        -o => 'ConnectTimeout 60'],
        );

getting error:    Invalid or bad combination of options ('key_path')


folder permissions are:

drwxrwsr-x  3 www-data www-data 4096 2012-06-28 16:24 /home/openssh_lib_home


drwxr-sr-x 2 www-data www-data 4096 2012-06-28 16:24 /home/openssh_lib_home/.ssh

-rw------- 1 www-data www-data 1679 2012-06-27 21:30 
/home/openssh_lib_home/.ssh/id_rsa
-rw-r--r-- 1 www-data www-data  395 2012-06-28 16:24 
/home/openssh_lib_home/.ssh/id_rsa.pub

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to