old.docs.rocketpool.net icon indicating copy to clipboard operation
old.docs.rocketpool.net copied to clipboard

Update securing-your-node.md 2FA instructions

Open IslamAbdelRahman opened this issue 2 years ago • 4 comments

I was not able to enable 2FA for a long time until I finally figured out that I need to set PermitRootLogin to yes

IslamAbdelRahman avatar Apr 17 '23 22:04 IslamAbdelRahman

Would not recommend enabling PermitRootLogin. Something else must be configured incorrectly because root login is not required for 2FA.

ryanscovill avatar Apr 18 '23 05:04 ryanscovill

@ryanscovill this is the only way I was able to solve the problem by follwing this guide https://serverfault.com/questions/869627/google-authenticator-pam-on-ssh-blocks-root-login-without-2fa

Let me know if there is something else I could have done

IslamAbdelRahman avatar Apr 20 '23 16:04 IslamAbdelRahman

@IslamAbdelRahman I have followed the doc 2FA guide without issue using a non-root user to login. This workaround to allow root login seems specific to your specific user configuration and not a general solution for everyone.

ryanscovill avatar Apr 21 '23 02:04 ryanscovill

@actuallymentor would you mind taking a look here?

jclapis avatar May 03 '23 07:05 jclapis