Update docs for removing 2FA
All checks were successful
Deploy to Fighter / Deploy-to-Fighter (push) Successful in 2s
All checks were successful
Deploy to Fighter / Deploy-to-Fighter (push) Successful in 2s
This commit is contained in:
parent
17d43a55dd
commit
b981cfbb54
@ -117,7 +117,8 @@ https://www.digitalocean.com/community/tutorials/how-to-set-up-multi-factor-auth
|
|||||||
Some use cases (such as programmatic access) demand 2FA be disabled.
|
Some use cases (such as programmatic access) demand 2FA be disabled.
|
||||||
Some day we'll figure out how to allow specific keys to bypass the 2FA requirement. But until then,
|
Some day we'll figure out how to allow specific keys to bypass the 2FA requirement. But until then,
|
||||||
|
|
||||||
Edit the file `/etc/ssh/sshd_config` as root. Set `UsePAM` from `yes` to `no`.
|
1. Edit the file `/etc/pam.d/sshd` and comment out the line `auth sufficient pam_google_authenticator.so nullok`
|
||||||
|
2. Edit the file `/etc/ssh/sshd_config` and find the `AuthenticationMethods` configuration. Replace the value `publickey,keyboard-interactive` with `publickey`.
|
||||||
|
|
||||||
### SSH Key Management
|
### SSH Key Management
|
||||||
The process for managing SSH keys should work as follows:
|
The process for managing SSH keys should work as follows:
|
||||||
|
Loading…
Reference in New Issue
Block a user