To work around this issue in cloud-init 20.4 on azure, one can launch a VM providing cloud-config userdata which contains the unsplit pubkey content.
userdata can be added in the Advanced tab in Azure portal dashboard or on the az cli via the cmdline parameters --custom-data mycloudconfig.yaml
For the auto-generated key listed in the above bug description the following would be the "right" #cloud-config to provide at VM launch time
#cloud-config ssh_authorized_keys: - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCllNnyHXFWlMb9EKD9LZrOxt1dk/QxYwQ0HYEP8n6TUWoUsN3mv/Qk/qWH76Pa6f33hefzTFRiom7Ls/tJMcr/ki8R9FqyYOu0xxHmpXTUWFoZQCZtGRMtvDl/s76Wr1sCsE/ez+EcAPeGGm/B7jHtDAUWlkINfuPVBDfRtSfmnlCKS+sIf1XOqvRASGWi05zAW921T4OkiattyXyhaOimJOwq4jAXmydwtNCN2iGGKWS8YeXbtgveReqZVVKtcDKevgWdNyqZa69uq9tRujobjCh76xxCkQcdCLospgqX79GBbdRys6mVxVgc349RIWjQwglRQpJwNzkeOG5Q+La2MEhuiKqKJMvYVhil3khzMuZwzmTrGbRx0E8AS+Cm064RBgbcdjCW8dDYGLuk2eQ2v9Ht6eERfxMBNg3udv1jmiKpjjHIg99HDU4VqhL3aHmg+TSrxByd0cAgFBV+H0CiUVC9S2mLJ6Peu/HDwd88E8Wqiv3eAsjcaCRH3QiQVaU=
To work around this issue in cloud-init 20.4 on azure, one can launch a VM providing cloud-config userdata which contains the unsplit pubkey content.
userdata can be added in the Advanced tab in Azure portal dashboard or on the az cli via the cmdline parameters --custom-data mycloudconfig.yaml
For the auto-generated key listed in the above bug description the following would be the "right" #cloud-config to provide at VM launch time
#cloud-config keys: AAAADAQABAAABgQ CllNnyHXFWlMb9E KD9LZrOxt1dk/ QxYwQ0HYEP8n6TU WoUsN3mv/ Qk/qWH76Pa6f33h efzTFRiom7Ls/ tJMcr/ki8R9FqyY Ou0xxHmpXTUWFoZ QCZtGRMtvDl/ s76Wr1sCsE/ ez+EcAPeGGm/ B7jHtDAUWlkINfu PVBDfRtSfmnlCKS +sIf1XOqvRASGWi 05zAW921T4Okiat tyXyhaOimJOwq4j AXmydwtNCN2iGGK WS8YeXbtgveReqZ VVKtcDKevgWdNyq Za69uq9tRujobjC h76xxCkQcdCLosp gqX79GBbdRys6mV xVgc349RIWjQwgl RQpJwNzkeOG5Q+ La2MEhuiKqKJMvY Vhil3khzMuZwzmT rGbRx0E8AS+ Cm064RBgbcdjCW8 dDYGLuk2eQ2v9Ht 6eERfxMBNg3udv1 jmiKpjjHIg99HDU 4VqhL3aHmg+ TSrxByd0cAgFBV+ H0CiUVC9S2mLJ6P eu/HDwd88E8Wqiv 3eAsjcaCRH3QiQV aU=
ssh_authorized_
- ssh-rsa AAAAB3NzaC1yc2E