do not accept invalid allowed_hosts for ssh keys