Adding a node to a PVE cluster with TFA on root account

hohl

Member
Jun 18, 2020
33
2
13
30
I tried to add a node to a Proxmox VE cluster using the GUI, but failed as I had two-factor authentication enabled on the root account. I could add the node after disabling TFA, but now I am wondering whether I will brick the cluster if I reenable TFA again.

Does a Proxmox cluster require me to keep no TFA on the root account of a Proxmox VE cluster? Not having TFA enabled on something as important as the root account of a virtualisation cluster seems like a weak point in any overall security concept. Disabling public access to the Proxmox management port is sadly not an option (as I need to share the access to the REST API with other) for me, so at least having access to TFA seems like the best trade off.
 
Hi,

no problem you can enable TFA.
This is only a problem at pairing time.
You have to log in to the cluster over the API what needs TFA if you enabled it.
After the pairing, the hosts are well known so the auth needs no TFA anymore.

you can add a node to a cluster with TFA when you use the command line with the '--ssh' option
 

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!