This is information about a workaround for manually caching keys on windows clusters for sftp scripts. There is an application that is currently using this process to bypass that initial confirmation step that is required when caching keys.

Here is an example of what needs to be done.
The script needs to be modified to add echo y before calling pscp utility. The command line in script looks like:
echo y pscp -scp -i E:"Apps"Sftp"mysftp.ppk H:"Outbound"test.zip
SFTP_USERNAME@SFTP_SERVER_ADDRESS:/home/inbound/
posted on 2008-06-26 11:22  Alex.Zhang  阅读(231)  评论(0编辑  收藏  举报