sshconfig-lint
Invalid directive value
← All checksA directive contains a number, duration, mask, DSCP value, or named option that OpenSSH does not accept.
Why it matters
Invalid values can stop SSH from loading the config before a connection starts. Small spelling differences also matter. ControlMaster accepts autoask, but not auto-ask, and AddressFamily accepts inet, but not ipv4.
How to fix it
Use Port 1 through 65535 and non-negative counters. Use the exact documented names for options such as AddressFamily, ControlMaster, StrictHostKeyChecking, LogLevel, and PubkeyAuthentication. The checker accepts modern OpenSSH values without guessing your installed client version. Verify the result with ssh -G production.
Before and after
Host production Port 70000 AddressFamily ipv4 ControlMaster auto-ask PubkeyAuthentication boundHost production Port 22 AddressFamily inet ControlMaster autoask PubkeyAuthentication host-bound