Hi,
i have accidentally overwritten the file /root/.ssh/authorized_keys (more specific the file /etc/pve/priv/authorized_keys, as /root/.ssh/authorized_keys is a simlink to /etc/pve/priv/authorized_keys) in our Proxmox HA cluster. Now I can not login from the WebUI to other nodes VM consoles anymore. Everything else seems still to work.
I searched a bit around and found
Is this the correct command to restore (generate a new) the key again? I just want to make sure not do destroy something else (the current wrong key inside the file can be deleted/overwritten...).
Thanks!
edit: more details
i have accidentally overwritten the file /root/.ssh/authorized_keys (more specific the file /etc/pve/priv/authorized_keys, as /root/.ssh/authorized_keys is a simlink to /etc/pve/priv/authorized_keys) in our Proxmox HA cluster. Now I can not login from the WebUI to other nodes VM consoles anymore. Everything else seems still to work.
I searched a bit around and found
Bash:
pvecm updatecerts
or
pvecm updatecerts --force true
Is this the correct command to restore (generate a new) the key again? I just want to make sure not do destroy something else (the current wrong key inside the file can be deleted/overwritten...).
Thanks!
edit: more details
Last edited: