Differences
This shows you the differences between the selected revisions of the page.
2012-08-14 | 2012-09-05 | ||
rawsettings (martin) | 5.0.9 SshHostKey => SshHostKeyFingerprint (martin) | ||
Line 29: | Line 29: | ||
| 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. | | ||
| 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 SshHostKey | 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 hostkey]] with the fingerprint. Mandatory for SFTP/SCP protocol.((You can leave the property ''null'', 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 hostkey]] with the fingerprint. Mandatory for SFTP/SCP protocol.((You can leave the property ''null'', 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 SshPrivateKey | 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 (''SshPrivateKey'' then serves only to select, what private key Pageant should use, in case more keys are loaded). | | | string SshPrivateKey | 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 (''SshPrivateKey'' then serves only to select, what private key Pageant should use, in case more keys are loaded). | | ||
| string SslCertificate | Fingerprint of FTPS server [[ftps#certificate|SSL/TLS certificate]] to be automatically accepted (useful for certificates signed by untrusted authority). | | | string SslCertificate | Fingerprint of FTPS server [[ftps#certificate|SSL/TLS certificate]] to be automatically accepted (useful for certificates signed by untrusted authority). | | ||
Line 48: | Line 48: | ||
* The server does not require password. | * The server does not require password. | ||
- | For SSH (SFTP/SCP) session you need to fill in the ''SshHostKey'' to verify the expected [[ssh#verifying_the_host_key|server host key]]. | + | For SSH (SFTP/SCP) session you need to fill in the ''SshHostKeyFingerprint'' to verify the expected [[ssh#verifying_the_host_key|server host key]]. |
===== Example ===== | ===== Example ===== |