Fixed! Cygwin on Windows needs HOME to be set, otherwise it cannot set known_hosts, and then StrictHostKeyChecking fails.