vasanth.easyrider has asked for the wisdom of the Perl Monks concerning the following question:
Hi Perl Monks
I have a requirement where i need to connect to 1000 devices using SSH. But we all know that when we do SSH for the first time, we get the following prompt =
The authenticity of host '10.3.170.37 (10.3.170.37)' can't be established.
ECDSA key fingerprint is 4f:2e:c4:f1:d7:f6:9a:07:c5:62:17:00:0d:1d:77:26.
Are you sure you want to continue connecting (yes/no)?
because of this prompt, i am not able to use Net::SSH module to fulfill my requirements. Can you help me on how to deal with the above prompt for the first time when we attempt to connect to the device?
Will Expect module fulfill my requirement?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SSH - Key Authentication
by hippo (Archbishop) on Apr 06, 2018 at 08:22 UTC | |
by vasanth.easyrider (Acolyte) on Apr 06, 2018 at 09:05 UTC | |
by salva (Canon) on Apr 06, 2018 at 11:19 UTC | |
|
Re: SSH - Key Authentication
by afoken (Chancellor) on Apr 06, 2018 at 11:40 UTC | |
by morgon (Priest) on Apr 06, 2018 at 23:56 UTC | |
|
Re: SSH - Key Authentication
by marto (Cardinal) on Apr 06, 2018 at 09:21 UTC | |
|
Re: SSH - Key Authentication
by thanos1983 (Parson) on Apr 06, 2018 at 08:21 UTC |