Differences

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

2014-06-13 2014-07-14
typo (martin) 5.6 Bug 816 Passphrase can be provided on command line/in scripting and .NET assembly. (martin)
Line 30: Line 30:
| Protocol Protocol | Protocol to use for the session. Possible values are ''Protocol.Sftp'' (default), ''Protocol.Scp'' and ''Protocol.Ftp''. | | Protocol Protocol | Protocol to use for the session. Possible values are ''Protocol.Sftp'' (default), ''Protocol.Scp'' and ''Protocol.Ftp''. |
| string SshHostKeyFingerprint | Fingerprint of SSH server [[ssh_verifying_the_host_key|host key]] (or several alternative fingerprints separated by semicolon). It makes WinSCP automatically [[scripting#hostkey|accept host key]] with the fingerprint. Mandatory for SFTP/SCP protocol.((You can leave the property ''null'', if you set ''GiveUpSecurityAndAcceptAnySshHostKey''; or if you set ''[[library_session#properties|Session.DefaultConfiguration]]'' to ''false'' and make sure the host key is already accepted in the [[config|configuration]], only (not recommended).)) //Learn how to [[faq_script_hostkey|obtain host key fingerprint]]//.  | | string SshHostKeyFingerprint | Fingerprint of SSH server [[ssh_verifying_the_host_key|host key]] (or several alternative fingerprints separated by semicolon). It makes WinSCP automatically [[scripting#hostkey|accept host key]] with the fingerprint. Mandatory for SFTP/SCP protocol.((You can leave the property ''null'', if you set ''GiveUpSecurityAndAcceptAnySshHostKey''; or if you set ''[[library_session#properties|Session.DefaultConfiguration]]'' to ''false'' and make sure the host key is already accepted in the [[config|configuration]], only (not recommended).)) //Learn how to [[faq_script_hostkey|obtain host key fingerprint]]//.  |
-| string SshPrivateKeyPath | Full path to private key file. The key has to be passphrase-less or [[ui_pageant|Pageant]] has to be running with the key loaded (''SshPrivateKeyPath'' then serves only to select, what private key Pageant should use, in case more keys are loaded). |+| string SshPrivateKeyPath | Full path to private key file. | 
 +| string SshPrivateKeyPassphrase | Passphrase for encrypted private keys. &beta_feature |
| string TlsHostCertificateFingerprint | Fingerprint of FTPS server [[ftps#certificate|TLS/SSL certificate]] to be automatically accepted (useful for certificates signed by untrusted authority). | | string TlsHostCertificateFingerprint | Fingerprint of FTPS server [[ftps#certificate|TLS/SSL certificate]] to be automatically accepted (useful for certificates signed by untrusted authority). |
| TimeSpan Timeout | Server response timeout. Defaults to 15 seconds. | | TimeSpan Timeout | Server response timeout. Defaults to 15 seconds. |
Line 46: Line 47:
In most cases you need to fill in ''Password''. Exceptions are: In most cases you need to fill in ''Password''. Exceptions are:
-  * You use different authentication method than a password authentication, such as [[public_key|public key authentication]] (with passphrase-less private key or with use of [[ui_pageant|Pageant]]) for SSH session;+  * You use different authentication method than a password authentication, such as [[public_key|public key authentication]] for SSH session;
  * The server does not require password.   * The server does not require password.

Last modified: by martin