Can't login after install with cloud-config

I am using this config:

#cloud-config
hostname: darin-meltzner
rancher:
network:
dns:
nameservers:
- 192.168.111.12
search:
- example.com
interfaces:
eth*:
dhcp: true
console: debian
ssh_authorized_keys:

the vm is created.
I try to connect using: ssh -i ~/.ssh/id_rsa.pub rancher@
but it requires a password (which I do not know and did not set…)

I am not sure what to try anymore :confused: any ideas?

Thank you!

~/.ssh/id_rsa.pub sounds like your public key, you will need to login using your private key (probably ~/.ssh/id_rsa).

I can’t determine if the layout of the file is correct, but you can double-check with https://rancher.com/docs/os/v1.x/en/installation/configuration/ssh-keys/

Thank you, I did try to use the id_rsa as well and the layout seems right :confused:
Anything else I can check?

I wonder if maybe this: Rancheros PXE boot cloud-config.yml not executed
is still an issue?