Differences
This shows you the differences between the selected revisions of the page.
2012-02-03 | 2012-02-08 | ||
using DefaultConfiguration is not recommended (martin) | type is Protocol too (martin) | ||
Line 22: | Line 22: | ||
| 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. | | ||
- | | Protocols 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 | [[ssh#verifying_the_host_key|Host key]] of the SSH server. Mandatory for SFTP/SCP protocol. You can leave the property ''null'', if you set ''Session.DefaultConfiguration'' to ''false'' and make sure the host key is already accepted in the configuration, only (not recommended). | | | string SshHostKey | [[ssh#verifying_the_host_key|Host key]] of the SSH server. Mandatory for SFTP/SCP protocol. You can leave the property ''null'', if you set ''Session.DefaultConfiguration'' to ''false'' and make sure the host key is already accepted in the configuration, only (not recommended). | | ||
| 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 server only to select, what private key Pageant should use, in case more 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 server only to select, what private key Pageant should use, in case more are loaded). | |