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 |
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.
- Enabling keepalives has very limited effect in scripting (except for
keepuptodate
command) and almost no effect in .NET assembly.Back