Differences

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

2008-04-11 2008-04-11
4.1 bug 109 (martin) 4.1 -timeout, -privatekey for open. (martin)
Line 236: Line 236:
Switches: Switches:
^ Switch          ^ Description ^ ^ Switch          ^ Description ^
-| ''-hostkey=<fingerprint>'' ·······| Specifies fingerprint of expected host key. It makes WinSCP automatically [[scripting#hostkey|accept hostkey]] with the fingerprint.  |+| ''-privatekey=<key>''        | Private key path | 
 +| ''-timeout=<sec>''          | Server response timeout | 
 +| ''-hostkey=<fingerprint>'' ··| Specifies fingerprint of expected host key. It makes WinSCP automatically [[scripting#hostkey|accept hostkey]] with the fingerprint.  |
Examples: Examples:
<code winscp> <code winscp>
-open sftp://martin@example.com:2222+open sftp://martin@example.com:2222 -privatekey=mykey.ppk
open martin@example.com open martin@example.com
open example.com open example.com