本人现在已经找到一个工具psftp.exe来调用可以实现下载与上传,但第一次运行时,会要求输入y/n
以下是提示内容:
The server's host key is not cached in the registry.YOU
have no gurantee the server is the computer you
think it is.
There server's rsa2 key fingerpint is:
ssh-rsa 2048 a4:0e:bc:6e:ee:d2:77:b1:77:21:f9:df:a3:a6:f1:39
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 no trust this host,press Return to abandon the connection.
Store key in cache?(y/n)