The systemd unit's ProtectHome=true blocks ~/.ssh access. SSH then had no place to write known_hosts (StrictHostKeyChecking=accept-new) and silently produced empty results. Use /etc/homelab-mcp/known_hosts (which ProtectSystem=strict still allows reading) and StrictHostKeyChecking=yes. Operator pre-populates the file via: ssh-keyscan -t ed25519 192.168.8.77 > /etc/homelab-mcp/known_hosts Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
11 KiB
Executable File
11 KiB
Executable File