aneeshk has asked for the wisdom of the Perl Monks concerning the following question:
How can I pass 'StrictHostKeyChecking=no' and 'UserKnownHostsFile=/dev/null' in Net::SCP::Expect. I know how to use any one like below
my $scpe = Net::SCP::Expect->new( host => $ip, user => "user", passwo +rd => "password", auto_yes => 1, verbose => 0, option => 'StrictHostK +eyChecking=no' );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to use -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null in Net::SCP::Expect
by Corion (Patriarch) on Jun 05, 2015 at 11:22 UTC | |
|
Re: How to use -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null in Net::SCP::Expect
by salva (Canon) on Jun 05, 2015 at 11:55 UTC | |
by jfroebe (Parson) on Jun 05, 2015 at 13:18 UTC | |
by salva (Canon) on Jun 05, 2015 at 13:54 UTC |