/root/.ssh/authorized_keys

Hyien

Member
Jun 18, 2021
95
3
13
35
What are the SSH keys generated by proxmox used for?
Is it safe for my config management scripts to overwrite this file with a custom one?
 
What are the SSH keys generated by proxmox used for?

PVE Admin Guide, chapter 5.9

Is it safe for my config management scripts to overwrite this file with a custom one?

No.

Note that systems like Ansible don't remove keys if they don't explicitly have the 'absent' state. Also, you can add a file to OpenSSH's 'AuthorizedKeysFile' and do key management as usual there.