Verify SSH host keys instead of ignoring them
`ssh.InsecureIgnoreHostKey()` disables host key verification and exposes SSH clients to man-in-the-middle attacks.
#Metadata
#Why it matters
Skipping host key verification lets any network attacker impersonate the remote host and steal credentials or hijack sessions.
#Remediation
Use `ssh.FixedHostKey`, `knownhosts.New`, or a callback that compares the remote host key to a trusted pin before completing the handshake.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/go/go.security.insecure-ssh-host-key.rule.yaml.