HP-UX Secure Shell Getting Started Guide
ClearAllForwardings
Use this directive to specify that all local, remote, and dynamic port forwardings in the
configuration files or on the command line be cleared. This option can be used to clear port
forwarding set in configuration files. It is automatically set by the scp and sftp commands.
The default is setting no.
For example:
ClearAllForwardings yes
Compression
Use this directive to specify whether to use compression. Setting this directive to YES can improve
speed over slower lines. Compression can also reduce delays because of encryption.
The default setting is no.
For example:
Compression yes
CompressionLevel
Use this directive to specify the compression level to use if compression is enabled. Valid values
are integers between 1 (fast) and 9 (slow, best).
The default setting is 6, which is sufficient for most applications.
For example:
CompressionLevel 9
NOTE: The CompressionLevel directive is available for the SSH-1 protocol only.
ConnectionAttempts
Use this directive to specify the number of times a user can attempt to connect to the server (one
per second) before exiting. Valid values must be integers. Use this directive with scripts in case
the connection fails.
The default value is 1.
For example:
ConnectionAttempts 3
ConnectTimeout
Use this directive to specify the timeout (in seconds) when connecting to the HP-UX Secure Shell
server, instead of using the default system TCP timeout. This value is used only when the target
server is down or unreachable.
The default value is 0.
For example:
ConnectTimeout 0
ControlMaster
Use this directive to enable sharing of multiple sessions over a single network connection.
Following are the valid values for the ControlMaster directive:
YES
HP-UX Secure Shell listens for connections on a control socket specified using the control
path value.
no
HP-UX Secure Shell connects additional sessions to the socket using the same control path.
These sessions reuse the master instance of a network connection than initiating new ones.
Client Configuration Directives 85