Differences
This shows you the differences between the selected revisions of the page.
2009-03-05 | 2009-03-05 | ||
4.2 bug 95 logging_xml (martin) | 4.2 bug 36 ftps#certificate (martin) | ||
Line 48: | Line 48: | ||
With the console interface tool ''WinSCP.com'' you can also use input/output redirection and pipes. | With the console interface tool ''WinSCP.com'' you can also use input/output redirection and pipes. | ||
- | ===== [[hostkey]] Verifying the Host Key in Script ===== | + | ===== [[hostkey]] Verifying the Host Key or Certificate in Script ===== |
The first connection to an SSH server requires [[ssh#verifying_the_host_key|verification of the host key]]. To automate the verification in script, you can use [[commandline|command-line]] parameter ''hostkey'' (or switch of ''[[script_commands#open|open]]'' command with the same name) to accept the expected hostkey automatically. | The first connection to an SSH server requires [[ssh#verifying_the_host_key|verification of the host key]]. To automate the verification in script, you can use [[commandline|command-line]] parameter ''hostkey'' (or switch of ''[[script_commands#open|open]]'' command with the same name) to accept the expected hostkey automatically. | ||
You can find the key fingerprint on [[ui_fsinfo|Server and Protocol Information Dialog]]. | You can find the key fingerprint on [[ui_fsinfo|Server and Protocol Information Dialog]]. | ||
+ | |||
+ | [[ftps#certificate|FTPS certificate]] signed by untrusted authority may also need to be verified. | ||
+ | |||
+ | |||
===== Running a Script under a Different Account ===== | ===== Running a Script under a Different Account ===== |