Differences

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

2013-04-08 2013-04-16
5.2: stored session => site (martin) 5.2 Bug 815 For special cases, it is possible to accept any SSH host key or any SSL certificate (with warning) using -hostkey=* in scripting (martin)
Line 13: Line 13:
| ''-privatekey=<key>''        | [[public_key#private|Private key]] path | | ''-privatekey=<key>''        | [[public_key#private|Private key]] path |
| ''-timeout=<sec>''          | Server response timeout | | ''-timeout=<sec>''          | Server response timeout |
-| ''%%-hostkey="<fingerprint>"%%'' | Specifies fingerprint of expected [[ssh#verifying_the_host_key|SSH host key]] (or several alternative fingerprints separated by semicolon). It makes WinSCP automatically [[scripting#hostkey|accept hostkey]] with the fingerprint. As the hostkey fingerprint contains spaces you need to enclose it in quotes. //Learn how to [[faq_script_hostkey|obtain host key fingerprint]]//. [[SFTP]] and [[SCP]] protocols only. | +| ''%%-hostkey="<fingerprint>"%%'' | Specifies fingerprint of expected [[ssh#verifying_the_host_key|SSH host key]] (or several alternative fingerprints separated by semicolon). It makes WinSCP automatically [[scripting#hostkey|accept hostkey]] with the fingerprint. As the hostkey fingerprint contains spaces you need to enclose it in quotes. //Learn how to [[faq_script_hostkey|obtain host key fingerprint]]//. \\ In exceptional situations, when security connection is not required, you can use value ''*'' to accept any hostkey. In this case, script output and log file will include warning about insecure connection. \\ [[SFTP]] and [[SCP]] protocols only. | 
-| ''%%-certificate="<fingerprint>"%%'' | Specifies fingerprint of expected [[ftps#certificate|SSL/TLS sertificate]] (or several fingerprints separated by semicolon). It makes WinSCP automatically [[scripting#hostkey|accept certificate]] with the fingerprint. [[ftps|FTPS]] protocol only. |+| ''%%-certificate="<fingerprint>"%%'' | Specifies fingerprint of expected [[ftps#certificate|SSL/TLS certificate]] (or several fingerprints separated by semicolon). It makes WinSCP automatically [[scripting#hostkey|accept certificate]] with the fingerprint. \\ In exceptional situations, when security connection is not required, you can use value ''*'' to accept any certificate. In this case, script output and log file will include warning about insecure connection. \\ [[ftps|FTPS]] protocol only. |
| ''-passive=on%%|%%off''                | Enables [[ui_login_connection#connection|passive]] (''=on'') or active (''=off'') transfer mode ([[FTP]] protocol only). | | ''-passive=on%%|%%off''                | Enables [[ui_login_connection#connection|passive]] (''=on'') or active (''=off'') transfer mode ([[FTP]] protocol only). |
| ''-implicit''                | Implicit TLS/SSL ([[ftps|FTPS protocol]] only) | | ''-implicit''                | Implicit TLS/SSL ([[ftps|FTPS protocol]] only) |

Last modified: by martin