in reply to Re^2: How to use -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null in Net::SCP::Expect
in thread How to use -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null in Net::SCP::Expect

You are right in that sometimes there is no alternative but to just disable host key checking entirely.

But in my experience, it is common for people to do that without actually knowing they are ditching the protocol security, just as an easy way to get SSH working.

  • Comment on Re^3: How to use -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null in Net::SCP::Expect