This is an old revision of the document!
Raw Session Settings
You can use raw session settings to setup advanced session settings,
- in scripting, using
-rawsettings
switch of scripting commandopen
(when the settings that cannot be configured using session URL nor using any dedicated switch of the command); - in .NET assembly, using
SessionOptions.AddRawSettings
method (when the settings cannot be configured using any dedicated property ofSessionOptions
class).
Advertisement
Common advanced settings settings:
Name | Description | Values |
---|---|---|
PingType |
Keepalives1 | 0 = Off, 1 = Sending of null SSH packets, 2 = Executing dummy protocol commands |
PingIntervalSecs |
Seconds between keepalives | |
ProxyMethod |
Proxy type | 0 = None, 1 = SOCKS4, 2 = SOCKS5, 3 = HTTP, 4 = Telnet, 5 = Local |
ProxyHost |
Proxy host name | |
ProxyHost |
Proxy port number | |
FtpAccount |
FTP account | |
Tunnel |
Connection tunneling | 0 = Disabled, 1 = Enabled |
TunnelHostName |
Tunnel host name | |
TunnelPortNumber |
Tunnel port number | |
TunnelUserName |
Tunnel user name | |
TunnelHostKey |
Fingerprint of expected SSH tunnel host key | |
TunnelPublicKeyFile |
Path to tunnel private key file |
To find correct syntax for settings not listed above, configure the setting in the GUI, store it into a stored session, save configuration to an INI file and use the same syntax as in an INI file.
Advertisement
- Enabling keepalives has very limited effect in scripting (except for
keepuptodate
command) and almost no effect in .NET assembly.Back