PBS 2FA

Dec 24, 2022
60
12
8
I have 2fa enabled on PBS and i am unable to connect my proxmox ve host because of this. What is the work around to allow connecting to PBS and still keeping 2fa
 
Use an API token. You can create an API token assigned to that user and use the token to make backups from the Proxmox VE servers. You will be able to use the 2FA for manual logins and the Proxmox servers use the API token for the backups.
 
Sure, it's documented here: https://pbs.proxmox.com/docs/user-management.html#api-tokens

In your PBS GUI, you can find it under Configuration -> Access Control -> API Token

1699099707066.png
Give the token a name and the token credentials will be shown. Don't forget to assign permissions to the token. Keep in mind that the token is limited to the permissions of the 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!