Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: SSH - Key Authentication

by hippo (Bishop)
on Apr 06, 2018 at 08:22 UTC ( [id://1212407]=note: print w/replies, xml ) Need Help??


in reply to SSH - Key Authentication

Can you help me on how to deal with the above prompt for the first time when we attempt to connect to the device?

The easy solution is to set strict_host_key_checking => 0 in the Net::SSH::Any constructor. This is of course very insecure but since your previous posts on the subject suggest that security is a very low priority for you then this may be sufficient.

Replies are listed 'Best First'.
Re^2: SSH - Key Authentication
by vasanth.easyrider (Acolyte) on Apr 06, 2018 at 09:05 UTC

    i already tried strict_host_key_checking => 0 in the past, for few devices SSH connection was not happening. i was getting error message that "channel not identified". This was because of using the option strict_host_key_checking => 0. Hence i decided not to use it

      Those are unrelated things. You were probably doing something else wrong.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-23 07:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found