Differences

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

2009-06-29 2009-06-29
4.2.2 bug 298 (martin) 4.2.2 bug 430 (martin)
Line 258: Line 258:
| ''-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 host key (or several 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.|+| ''-hostkey="<fingerprint>"'' | Specifies fingerprint of expected [[ssh#verifying_the_host_key|SSH host key]] (or several 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. [[protocols#sftp|SFTP]] and [[protocols#scp|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. |
| ''-passive''                | Passive mode ([[protocols#ftp|FTP protocol]] only) | | ''-passive''                | Passive mode ([[protocols#ftp|FTP protocol]] only) |
Line 267: Line 268:
open sftp://martin@example.com -hostkey="ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" open sftp://martin@example.com -hostkey="ssh-rsa 1024 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"
open scp://test@example.com:2222 -privatekey=mykey.ppk open scp://test@example.com:2222 -privatekey=mykey.ppk
 +open ftps://martin@example.com -certificate="xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"
open martin@example.com open martin@example.com
open example.com open example.com