From 6f192a7ddde9c2811f6dc1bc2ed37694506f50d6 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Thu, 19 Feb 2026 22:22:42 -0600 Subject: [PATCH] store: CLAUDE.md SSH section updated to mandate aliases from ~/.ssh/config --- ...-to-mandate-aliases-from-sshconf-44cba7.md | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 graph/fixes/claudemd-ssh-section-updated-to-mandate-aliases-from-sshconf-44cba7.md diff --git a/graph/fixes/claudemd-ssh-section-updated-to-mandate-aliases-from-sshconf-44cba7.md b/graph/fixes/claudemd-ssh-section-updated-to-mandate-aliases-from-sshconf-44cba7.md new file mode 100644 index 00000000000..4bd4a962575 --- /dev/null +++ b/graph/fixes/claudemd-ssh-section-updated-to-mandate-aliases-from-sshconf-44cba7.md @@ -0,0 +1,27 @@ +--- +id: 44cba732-76a1-4111-b1c4-7f463a53e6cc +type: fix +title: "CLAUDE.md SSH section updated to mandate aliases from ~/.ssh/config" +tags: [claude-code, ssh, configuration, claude-config] +importance: 0.7 +confidence: 0.8 +created: "2026-02-20T04:22:42.061605+00:00" +updated: "2026-02-20T04:22:42.061605+00:00" +--- + +## Problem +Claude Code sessions were constructing manual `ssh -i ~/.ssh/homelab_rsa cal@` commands instead of using the SSH aliases defined in `~/.ssh/config`. This happened because the CLAUDE.md SSH section only described generic key-based rules, not the aliases. + +## Fix +Updated `~/.claude/CLAUDE.md` SSH section to: +- **Mandate** using aliases: `ssh ` (e.g. `ssh sba-db`, `ssh proxmox`, `ssh manticore`) +- **Never** construct manual `ssh -i` commands +- If unsure of an alias, read `~/.ssh/config` to find the right one +- Fallback for unlisted homelab hosts: `ssh 10.10.0.x` (wildcard rule handles key/user) + +## Also in same sync +- Fixed Gitea `tea` CLI instructions to always pass `--repo owner/name` flag +- Added cal/major-domo-v2 to common repos list + +## Commit +`42d180e` pushed to cal/claude-configs on Gitea.