Differences

This shows you the differences between the selected revisions of the page.

2015-08-26 2015-08-26
discourage from using stored session (martin) Verifying the Host Key (martin)
Line 49: Line 49:
</code> </code>
 +===== Verifying the Host Key =====
 +
 +If your ''psftp.exe'' command-line does not use ''-hostkey'' switch, it means that you rely on PuTTY/PSFTP host key cache in Windows registry. That makes your script non-portable.
 +
 +With WinSCP it's recommended to always [[scripting#hostkey|verify the host key explicitly]] using ''-hostkey'' switch of an ''[[scriptcommand_open|open]]'' command.
===== Converting Commands ===== ===== Converting Commands =====

Last modified: by martin