Interestingly, it also doesn't work when going through https://developer.hashicorp.com/packer/integrations?filter=ssh.