Differences

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

2015-12-21 2016-01-06
5.8 Change: Deprecating Session.DefaultConfiguration in favor of Session.AddRawConfiguration. (martin) 5.8 Bug 921 Authentication with TLS/SSL client certificates (martin)
Line 28: Line 28:
| string Password | Password for authentication. | | string Password | Password for authentication. |
| int PortNumber | Port number to connect to. Keep default ''0'' to use the default port for the protocol. | | int PortNumber | Port number to connect to. Keep default ''0'' to use the default port for the protocol. |
 +| string PrivateKeyPassphrase | Passphrase for encrypted private keys and client certificates. |
| Protocol Protocol | Protocol to use for the session. Possible values are ''Protocol.Sftp'' (default), ''Protocol.Scp'', ''Protocol.Ftp'' and ''Protocol.Webdav''. | | Protocol Protocol | Protocol to use for the session. Possible values are ''Protocol.Sftp'' (default), ''Protocol.Scp'', ''Protocol.Ftp'' and ''Protocol.Webdav''. |
| [[msdn>system.security.securestring|SecureString]] SecurePassword | Encrypted password for authentication. Use instead of ''Password'' to reduce a number of unencrypted copies of the password in memory. | | [[msdn>system.security.securestring|SecureString]] SecurePassword | Encrypted password for authentication. Use instead of ''Password'' to reduce a number of unencrypted copies of the password in memory. |
| 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''.)) //Learn how to [[faq_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''.)) //Learn how to [[faq_hostkey|obtain host key fingerprint]]//.  |
| string SshPrivateKeyPath | Full path to private key file. | | string SshPrivateKeyPath | Full path to private key file. |
-| string SshPrivateKeyPassphrase | Passphrase for encrypted private keys. |+| string TlsClientCertificatePath | Full path to [[tls#client_certificate|TLS/SSL client certificate]]. |
| string TlsHostCertificateFingerprint | Fingerprint of FTPS/WebDAVS server [[tls#certificate|TLS/SSL certificate]] to be automatically accepted (useful for certificates signed by untrusted authority). | | string TlsHostCertificateFingerprint | Fingerprint of FTPS/WebDAVS server [[tls#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. |

Last modified: by martin