sshconfig-lint
Practical SSH config guides
Short, tested answers for validating OpenSSH client configs and fixing the mistakes people search for most.
How to validate ~/.ssh/config
Check an OpenSSH client config for semantic mistakes, local file problems, and Include errors before connecting.
Check SSH config syntax and behavior
Combine OpenSSH’s own parser with semantic linting instead of relying on a connection attempt.
Fix duplicate Host blocks in SSH config
Understand why repeated Host aliases are confusing and consolidate them without losing settings.
Put Host * in the correct order
Prevent broad SSH defaults from winning before a specific Host block is evaluated.
Find and break SSH Include cycles
Trace circular OpenSSH Include chains and move shared defaults into a one-way structure.
Fix IdentityFile not found
Resolve missing SSH private-key paths without weakening file permissions or deleting valid host settings.