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 (SFTP/SCP protocols only), 5 = Local (SFTP/SCP), For additional options with FTP protocol, see FtpProxyLogonType |
ProxyHost |
Proxy host name | |
ProxyPort |
Proxy port number | |
ProxyUsername |
Proxy username | |
ProxyPassword |
Proxy password | |
FtpProxyLogonType |
FTP proxy types | 1 = SITE %host , 2 = USER %proxyuser, USER %user@%host , 3 = OPEN %host , 4 = USER %proxyuser, USER %user , 5 = USER %user@%host , 6 = USER %proxyuser@%host , 7 = USER %user@%host %proxyuser , 8 = USER %user@%proxyuser@%host |
ProxyDNS |
Do DNS name lookup at proxy end | 0 = Off, 1 = On, 3 = Auto |
ProxyLocalhost |
Consider proxying local host connections | 0 = Off, 1 = On |
ProxyTelnetCommand |
Telnet proxy command | |
ProxyLocalCommand |
Local proxy command | |
Compression |
SSH session compression | 0 = Disabled, 1 = Enabled |
SshProt |
Preferred SSH protocol version | 0 = SSH-1 only, 1 = SSH-1 preferred, 2 = SSH-2 preferred, 3 = SSH-2 only |
Cipher |
SSH encryption cipher selection policy | Comma-separated list of cipher preference order, where names of ciphers are aes , blowfish , 3des , arcfour and des . Token WARN is used to delimit substandard ciphers. Example: blowfish,aes,3des,WARN,arcfour,des |
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 | |
Utf |
UTF-8 Encoding for Filenames | 0 = Off, 1 = On, 3 = Auto |
Shell |
Shell (SCP protocol) |
Advertisement
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