mirror of
https://github.com/buildplan/du_setup.git
synced 2026-04-26 10:35:51 +03:00
[PR #93] [MERGED] feat(security): add optional 2FA/MFA setup for SSH access #95
Labels
No labels
bug
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/du_setup#95
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/buildplan/du_setup/pull/93
Author: @buildplan
Created: 1/19/2026
Status: ✅ Merged
Merged: 1/19/2026
Merged by: @buildplan
Base:
main← Head:dev📝 Commits (5)
0fc5512add 2FA setup for SSH login4f2d808fix shellcheck warningf57d509refactor: make show_connection_options global for SSH connection displaydd633d4checksum v0.80.0e185976version bumb and 2FA📊 Changes
3 files changed (+220 additions, -63 deletions)
View changed files
📝
README.md(+7 -5)📝
du_setup.sh(+212 -57)📝
du_setup.sh.sha256(+1 -1)📄 Description
Key Changes:
configure_2fafunction that sets up TOTP-based MFA for the user.AuthenticationMethods publickey,keyboard-interactive. This enforces a "Key + Code" (or Key + Code + Password) requirement, preventing access if only the private key is compromised.qrencode).show_connection_optionsfromconfigure_sshinto a global helper function to support connection instructions in both SSH and 2FA setup stages.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.