claude-memory/graph/fixes/ssh-identitiesonly-needed-to-prevent-too-many-auth-failures-44e2b4.md

659 B

id type title tags importance confidence created updated
44e2b486-ecc3-46a4-aac3-4ef21b308c9b fix SSH IdentitiesOnly needed to prevent too many auth failures with agent
ssh
homelab
configuration
fix
0.6 0.8 2026-02-20T15:37:22.514346+00:00 2026-02-20T15:37:22.514346+00:00

SSH to n8n failed with too many auth failures despite correct key in config. SSH agent was offering multiple keys before the configured IdentityFile. Fix: added IdentitiesOnly yes to Host wildcard and specific entries in ~/.ssh/config. Lesson: any SSH config host with IdentityFile should also set IdentitiesOnly yes when SSH agent has multiple keys loaded.