SSH key for root login, can it be done the regular way?

scurrier

Active Member
Sep 9, 2017
15
2
43
72
I'd like to set up an SSH key for root login. Can I just do this in the regular way by editing the `authorized_keys` file and setting the sshd_config file to not permit password? Or does this risk violating the expectations of the Proxmox engine and causing errors?
 
yeah, that works. the only thing in PVE that uses password based auth is joining a node to an existing cluster using SSH (which is the non default mode, the default one goes over the API).