Two-Factor Authentication not working

AmokPaule

Member
May 10, 2010
44
0
6
Hello,

i followed the wiki about activating the two factor auth.

I have a user@pve tfa is enabled for this realm.

On the terminal i entered

oathkeygen

and added the key to the user in proxmox.

In google authenticator i added a new acc using the same key as used before.

When i try to login it says "Login failed. Please try again."


Any help is much appreciated :)
 
Hi,
on what realm you are pam or pve?

Is you time on the smartphone and the Server in sync?
 
make sure that both your node and your phone have the correct time (each OTP is valid for 30 seconds, and only the current 30 second window and the one before and after are accepted when logging in)
 
Hello,
thanks for the answers thats the solution.
I was just wondering cause it worked over ssh login.
Anyways Thank you two very much!:)
 

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!