Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Net::SCP::Expect RSA Fingerprint Problem

by anshumangoyal (Scribe)
on Jan 11, 2013 at 08:41 UTC ( #1012830=note: print w/ replies, xml ) Need Help??


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

Even Net::SCP::Expect has this option. This is how you pass this:

my $scp_exp = Net::SCP::Expect->new( host => $host, user => $user, password => $pass, timeout => undef, auto_yes => 1, recursive => 1, option => 'StrictHostKeyCheck +ing=no' );
Thanks for the Great Help. This worked like a charm!!


Comment on Re^2: Net::SCP::Expect RSA Fingerprint Problem
Download Code
Replies are listed 'Best First'.
Re^3: Net::SCP::Expect RSA Fingerprint Problem
by space_monk (Chaplain) on Jan 11, 2013 at 09:35 UTC
    I must admit I do like to see feedback from the original question poster indicating which solution to the problem actually worked for them. Thanks for updating us.
    A Monk aims to give answers to those who have none, and to learn from those who know more.
Re^3: Net::SCP::Expect RSA Fingerprint Problem
by Anonymous Monk on Jun 26, 2015 at 06:41 UTC
    How can I give the options 'StrictHostKeyChecking=no' and 'UserKnownHostsFile=/dev/null'? auto_yes => 1 is working only with option => 'StrictHostKeyChecking=no'.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012830]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (18)
As of 2015-07-28 19:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls