Partially revert "Disable known hosts checking"

This reverts commit db27399c4d03d864b2f648511090ef9fd8b0abd2.