PBS 2FA

Dec 24, 2022
63
13
13
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.