fixes #12801

get ssh_interface if it is set, otherwise just use public_ips

@grischa can you double check that this one fixes your problem?

It should use whatever value you set in ssh_interfaces, and if nothing is set fall back to using the public_ips