Repository navigation
Remove personal SSH hostnames from tracked config; switch to local include - #139
Closed
stanfish06 with Copilot wants to merge 2 commits into
Closed
stanfish06 with Copilot wants to merge 2 commits into
stanfish06 with Copilot wants to merge 2 commits into
Conversation
Copilot
AI
changed the title
[WIP] Review commits and PRs for week 30 of 2026
Remove personal SSH hostnames from tracked config; switch to local include
Jul 20, 2026
stanfish06
marked this pull request as ready for review
July 20, 2026 11:56
This was referenced Sep 21, 2026
Owner
|
Closing as superseded by #148 — the chezmoi migration ( Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This weekly review identified an information-leak risk in recently changed configs: personal/home-infra hostnames were committed in public
ssh/config. This change removes those host-specific entries from tracked config and keeps support for local host definitions via an untracked include path.Scope
ssh/configonly.Security / privacy
nixos-beelink-1,nixos-gmktec-1) from the repo-managed SSH config.Config structure
Operational impact
~/.ssh/local/*.conf.Verified: diff correctly drops only the two personal
nixos-*blocks and preserves all HPC entries (greatlakes*,bridges2) and the sharedHost *block unchanged. TheIncludeline is placed before anyHostblocks, so locally-defined hosts get first-match priority without conflicting with the tracked entries.