xomo has asked for the wisdom of the Perl Monks concerning the following question:
When I run this code there is no error I am using unix box, $file is in my directory and have full permissions, also I have changed the directory to temp in unix box but when somebody else runs this code they get Problem performing scp: Are you sure you want to continue connecting (yes/no)? at scp.pl line 242 I am very confused why is it happening, as this error is not received by me.my $username = "user"; my $password= "pass"; my $host="xxx.xxx.xxx.xxx"; my $scpe = Net::SCP::Expect->new(user => $username, password => $password, preserve => 1, recursive => 1, verbose=>1, auto_yes=>1); $scpe->scp("$file","$host:./drop/drop.txt");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl SCP ERROR(Asking to Continue?)
by salva (Canon) on Feb 21, 2011 at 20:05 UTC | |
by xomo (Initiate) on Feb 21, 2011 at 20:29 UTC | |
by salva (Canon) on Feb 21, 2011 at 20:40 UTC |