Skip to content

Commit cf96758

Browse files
jacobo-doistclaude
andcommitted
SSH: Add managed config with Include and local config stub
Create a base SSH config that includes all files from ~/.ssh/config.d/. This enables the work layer and local machine-specific configs to add SSH host entries without modifying the main config file. Also seed an empty ~/.ssh/config.d/local file (via create_ prefix) for untracked machine-specific SSH config that neither layer manages. Co-authored-by: Claude (claude-opus-4-6) <noreply@anthropic.com>
1 parent 71c7acb commit cf96758

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

home/dot_ssh/config

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Managed by chezmoi — do not edit manually
2+
# Local/work SSH config goes in ~/.ssh/config.d/
3+
4+
Include ~/.ssh/config.d/*

home/dot_ssh/config.d/create_local

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Machine-specific SSH config — not managed by chezmoi
2+
# Edit this file directly; chezmoi will not overwrite it.

0 commit comments

Comments
 (0)