|
Posted by Dayton Jones on February 28, 2006, 11:02 pm
Please log in for more thread options
Yes, I noticed that when reading your original response -- changed it to
"setrcp="
A. Sinan Unur wrote:
>
>
>>A. Sinan Unur wrote:
>>
>>>
>>>
>>>
>>>>I've got a very simple script (see below) that uses the File::Remote
>>>>module. I've set up the script to use ssh/scp and there is no
>>>>problem for the user to ssh to the hosts - but the script fails with
>>>>a "permission denied" error on the copy command.
>>>>
>>>>-- begin script
>>>>
>>>>#!/usr/bin/perl
>>>
>>>
>>>use strict;
>>>use warnings;
>>>
>>>missing.
>>>
>>>
>>>
>>>>use File::Remote qw(:replace);
>>>>
>>>>setrsh('/usr/bin/ssh');
>>>>serrcp('/usr/bin/scp');
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> ...
>
>
>>I added the strict/warnings but had the same result -- with no extra
>>information.
>
>
> Well, did you fix the typo above?
>
> I don't have File-Remote installed, by I doubt serrcp is correct.
>
> Sinan
>
|