Can SSH keys be regenerated?

Dear Everyone,

Recently I bought a Nextcloud box (, which is based on Ubuntu core. To set it up I followed the procedure described in the wiki of nextcloud box ( and I created an account using the SSO account of Ubuntu.
Unfortunately, after a format in my personal computer I lost my private key for that account and now I am not able to connect. So my question is: is there a solution to produce new keys, or do I have to reinstall the the operating system from the begging.

Kind regards,


1 Like