:paranoid => false in the Net::SSH.start() does not seem to work
:paranoid => false in the Net::SSH.start() does not seem to work
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can pass a Null verifier instead of false:
:paranoid => Net::SSH::Verifiers::Null.new.This is essentially what you should get when passing false but it doesn’t appear to always work for some reason.
Please note, just to be explicit. This does not ignore the HostKeyMismatch exception, rather it does not even attempt to verify the host key (the exception does not get raised at all).