From eba4d5a6eef89dd9e6378ebf860cf438938f0144 Mon Sep 17 00:00:00 2001 From: kiskaadee Date: Wed, 4 Nov 2026 08:55:00 -0500 Subject: [PATCH] docs(profile): document OpenSSH Home Manager config symlink recovery --- profile/AGENTS.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/profile/AGENTS.md b/profile/AGENTS.md index 3aaece9..e14092b 100644 --- a/profile/AGENTS.md +++ b/profile/AGENTS.md @@ -77,4 +77,7 @@ whether I really understood something), don't make it for me: - The residential ISP dynamic WAN IP has renewed and public DNS is pointing to an expired IP. - Run `cf-ddns` in bash to automatically sync Cloudflare DNS records with the current public WAN IP. - *Context*: `cf-ddns` is a temporary manual workaround. The server-side `dynu-monitor` is deprecated following infrastructure migration to Cloudflare, while the general-purpose `ddns-monitor` (`~/Projects/active/ddns-monitor`) is not yet production-ready. +- If git/ssh fails with `Bad owner or permissions on /home/kiskaadee/.ssh/config`: + - Home Manager has symlinked `~/.ssh/config` to `/nix/store/...` (owned by `nobody:nogroup`), which OpenSSH strictly rejects. + - Run `cp -L ~/.ssh/config ~/.ssh/config.tmp && mv ~/.ssh/config.tmp ~/.ssh/config && chmod 600 ~/.ssh/config` to de-symlink it to a regular file owned by the user.