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 
-rawsettingsswitch 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.AddRawSettingsmethod (when the settings cannot be configured using any dedicated property ofSessionOptionsclass). 
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 | |
ProxyHost | 
        Proxy port number | |
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 | 
    
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 
keepuptodatecommand) and almost no effect in .NET assembly.Back