I would like to know how to limit the number of concurrent ssh logins with Tectia. It can be configured with openssh by using "UseLogin yes" in sshd_config. What is the equivalent configuration for ssh-server-config.xml?
asked Nov 15 '10 at 22:28
Using the limits configuration option
In 5.x versions of Tectia Server and above this can be done using the limits configuration option.
This element sets the maximum number of connections and processes the server will handle. SSH Tectia Server uses a distributed architecture where the master server process launches several servant server processes that handle the actual connections.
The max-processes attribute defines the maximum number of servant processes the master server will launch. The value range is 1-40. The default value is 40.
The max-connections attribute defines the maximum number of client connections allowed per servant. The value range is 1-256. The default value is 256.
This setting is useful in systems with low resources. The server has to be restarted to use the changed setting.
A sample limits element is shown below:
For example the following configuration segment will allow up to 10 concurrent connections (2 servant processes, each serving 5 connections):
answered Nov 16 '10 at 13:30