Use PermitRootLogin without-password on Proxmox node in cluster

ahoi_

New Member
Apr 10, 2021
24
4
3
37
Hello there,

as I did not find anything in the docs about this:

I'd like to prevent logging in as root using password, so I'd have to change my sshd_config from PermitRootLogin yes to PermitRootLogin without-password on my nodes.

Before I do so: Is this recommended? Is it possible that I run into errors in my cluster-setup, on upgrading or on using my Proxmox Backup server?
 
There should be no problem switching to PermitRootLogin prohibit-password or similar.

Note: Doing so prohibits new cluster joins, for these you would have to temporarily allow root login via password. After the join this will not be needed.