Hi Rajeev,
On Thu, 28 Jun 2012 10:00:08 -0700 (PDT)
Rajeev Prasad <[email protected]> wrote:
> 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'],
> );
key_path should point to the file of the private key on the disk - not its
containing directory.
Regards,
Shlomi Fish
>
> 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
>
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
My Favourite FOSS - http://www.shlomifish.org/open-source/favourite/
Every successful open source project will eventually spawn a sub‐project.
Please reply to list if it's a mailing list post - http://shlom.in/reply .
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/