1.1 KiB
1.1 KiB
| id | type | title | tags | importance | confidence | created | updated | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 44cba732-76a1-4111-b1c4-7f463a53e6cc | fix | CLAUDE.md SSH section updated to mandate aliases from ~/.ssh/config |
|
0.7 | 0.8 | 2026-02-20T04:22:42.061605+00:00 | 2026-02-20T04:22:42.061605+00:00 |
Problem
Claude Code sessions were constructing manual ssh -i ~/.ssh/homelab_rsa cal@<host> 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 <alias>(e.g.ssh sba-db,ssh proxmox,ssh manticore) - Never construct manual
ssh -icommands - If unsure of an alias, read
~/.ssh/configto 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
teaCLI instructions to always pass--repo owner/nameflag - Added cal/major-domo-v2 to common repos list
Commit
42d180e pushed to cal/claude-configs on Gitea.