[SOLVED] PVE loses connection to PBS when enabling 2FA in PBS

Nov 17, 2019
26
0
21
Hi, I already used 2FA in PVE. Recently installed PBS, set the whole thing up and took backup of each VM. Then while tinkering with the settings I enabled 2FA for PBS, at which point PVE loses connection to it. I thought the join fingerprint changed when enabling 2FA or something, but that stayed the same. After disabling 2FA in PBS PVE immediately reconnects.

Is there something I need to do in different way to connect to PBS with 2FA enabled? Thanks!

pve 7.0-10
pbs 2.0-7
 
PVE needs non-interactive access to PBS, so 2FA can't work. you can replace the username / password with an API token generated on the PBS side. you need to give permission to access datastores etc. to the token in addition to the owning user.
 

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!