I had a simple automation process to write which needed to copy a few files from linux server to windows via SSH. This can be accomplished using putty.
SSH, as part
echo y | pscp -i /path/to/key/file user@remote:/tmp/file . echo y | plink -i /path/to/key/file scripts.sh
it will store host key fingureprint to following location at the first time, and will ignore "y" next time
HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SshHostKeys