So here we go. Had a pc meltdown today and had to reinstall Ubuntu. My private keys for Ubuntu One were lost. So, I generated a new set of keys. Uploaded them on Ubuntu One, and went about ssh into my machines that have Core 24.04 on them. To my surprise, I was issued Permission denied (publickey). Please tell me I am not screwed and am not going to have to re-image all of my machines with core again. Any help would be appreciated.
That’s a good question, I’m not sure if the machines automatically sync or not. I don’t think they do unless they’re factory reset and go through the initial console-conf setup again.
However, I have in the past had success using auto-import.assert
in the form of a system user assertion. System-user assertion | Ubuntu
Putting this onto the root of a FAT32 formatted USB stick and inserting into the device SHOULD be picked up by snapd and actioned upon.
As long as the assertion is signed with a key that the model was signed with (even if it’s your own key registered with your snapcraft user), it will be accepted.
Hopefully this helps!