http://www.perlmonks.org?node_id=1012808


in reply to Net::SCP::Expect RSA Fingerprint Problem

You could try auto_yes if you just want to answer every question coming from scp with a yes...

Net::SCP::Expect->new(auto_yes=>1,...)

Replies are listed 'Best First'.
Re^2: Net::SCP::Expect RSA Fingerprint Problem
by anshumangoyal (Scribe) on Jan 11, 2013 at 07:36 UTC
    This is my Code:
    my $scp_exp = Net::SCP::Expect->new( host => $host, user => $user, password => $pass, timeout => undef, auto_yes => 1 );
    Still I am getting this error. Dont know what all is happening.