login about faq

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

Gregory%20Sorkin's gravatar image

Gregory Sorkin
11

I'm not that familiar with this option in OpenSSH, but I understood it refers to using the login program for interactive sessions. How is the concurrent login limit configured in this approach?

(Nov 16 '10 at 13:39) Roman ♦♦ Roman's gravatar image

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:

<limits max-connections="256" max-processes="40" />

For example the following configuration segment will allow up to 10 concurrent connections (2 servant processes, each serving 5 connections):

<secsh-server>
  <!-- Other options -->
  <params>
    <!-- Other options -->
    <limits max-connections="5" max-processes="2" />
    <!-- Other options -->
  </params>
  <!-- Other options -->
</secsh-server>
link

answered Nov 16 '10 at 13:30

Roman's gravatar image

Roman ♦♦
7735817

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1

Asked: Nov 15 '10 at 22:28

Seen: 2,852 times

Last updated: Apr 05 '11 at 21:22

Related questions

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.