Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by quester (Vicar)
on Jan 11, 2013 at 06:47 UTC ( #1012808=note: print w/ replies, xml ) Need Help??


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,...)


Comment on Re: Net::SCP::Expect RSA Fingerprint Problem
Download Code
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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2015-07-29 01:21 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 (260 votes), past polls