Fixing creation of known hosts