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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!