mirror of
https://github.com/buildplan/du_setup.git
synced 2026-04-26 10:35:51 +03:00
[GH-ISSUE #101] Fallback option for ssh hardening #7
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#7
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?
Originally created by @buildplan on GitHub (Feb 28, 2026).
Original GitHub issue: https://github.com/buildplan/du_setup/issues/101
Discussed in https://github.com/buildplan/du_setup/discussions/100
Originally posted by avetere February 27, 2026
Hi there!
Thanks for this very nice script!
I have two suggestions for further improvement:
This would be to revert everything in case the user does not confirm possibility to login in time, e.g. due to a disconnect from the active session. The same could apply for 2fa setup
In caase of an existing user - as far as I have seen - there is no additional check, if a ssh key actually exists and is working.
And a small thing to think about:
Might it be beneficial to actually perform changes to sshd config in a low-lexical-order file in sshd_config.d altogether, instead of changing the default config? So as to avoid the first-mention-wins problem?
Cheers
AV