Re: How to update ini file in advance of SSH host key changing
If you use scripting, you should have your host key fingerprint in your script in the
https://winscp.net/eng/docs/scriptcommand_open#hostkey
https://winscp.net/eng/docs/scripting#hostkey
You can put fingerprints of both the current and the future host key to the switch, semicolon-separated:
-hostkey
switch.
https://winscp.net/eng/docs/scriptcommand_open#hostkey
https://winscp.net/eng/docs/scripting#hostkey
You can put fingerprints of both the current and the future host key to the switch, semicolon-separated:
open sftp://username:password@example.com/ -hostkey="current fingerprint;future fingeprint"