{"version":"2.1.337","anchor":"git-host-key-check-detects-quoted-devnull-and-windows-nul","canonical_anchor":"git-host-key-check-detects-quoted-devnull-and-windows-nul","heading":"Git host-key check now catches quoted \/dev\/null and Windows nul","tier":"notice","area":"Git","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/git-host-key-check-detects-quoted-devnull-and-windows-nul","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Git host-key check now catches quoted \/dev\/null and Windows nul\n\nClaude Code now detects git ssh commands that turn host-key checks off with a quoted \/dev\/null, or with nul on Windows\n\n**What**\n\nWhen git connects to a server over ssh, it checks the server's host key. The host key is a fingerprint that proves the server is the one you expect. Pointing that check at \/dev\/null, an empty file, switches it off. Claude Code looks for this in the git setting `core.sshCommand` and in the environment variable `GIT_SSH_COMMAND`, and reports that your ssh command for git switches host-key checks off.\n\nIt now also catches:\n\n- `\/dev\/null` written inside quotes\n\n- `nul` or `nul:` on Windows, which is the Windows equivalent of \/dev\/null\n\nBefore, it caught only \/dev\/null written without quotes.\n\n**Why**\n\nPutting the path in quotes, or using the Windows form, no longer gets past the safety check.\n\n- Area: Git\n- Names: `core.sshCommand`, `GIT_SSH_COMMAND`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: both\n- Heads-up: no"}