There is a scheduled job to send files via psftp command (psftp -bc -v -P 22 -l username -pw password -b upload220506.ftp ftpsitename) in windows server. It is already cached by running exe file manually from command prompt as administrator. The first file was transferred successfully through the job and the second file was failed and seeing the following message in the log. How shall I avoid this issue when sending multiple files?
Using Diffie-Hellman with standard group "group14" Doing Diffie-Hellman key exchange with hash SHA-1 The server's host key is not cached in the registry. You have no guarantee that the server is the computer you think it is. The server's rsa2 key fingerprint is: ssh-rsa 2048 If you trust this host, enter "y" to add the key to PuTTY's cache and carry on connecting. If you want to carry on connecting just once, without adding the key to the cache, enter "n". If you do not trust this host, press Return to abandon the connection. Store key in cache? (y/n)