GNU/Linux >> Znalost Linux >  >> Ubuntu

Server Ubuntu, více současných vzdálených uživatelů?

Nastavuji nový server Ubuntu (16.04), ke kterému bude mít přístup až 50 lidí současně.
Podle tohoto návodu jsem nastavil XRDP s xfce a zatím je vše v pořádku , problém je v tom, že současně může být přihlášeno pouze 10 uživatelů.
může s tím někdo pomoci.
děkuji.

Přijatá odpověď:

Musíte zvýšit výchozí povolené připojení pomocí

/etc/ssh/sshd_config

Soubor, přidejte řádky

MaxSessions 50
MaxStartups 50:30:100

do toho souboru. Poté restartujte systém.

Formulář man sshd_config(5):

MaxSessions
         Specifies the maximum number of open shell, login or subsystem
         (e.g. sftp) sessions permitted per network connection.  Multiple
         sessions may be established by clients that support connection
         multiplexing.  Setting MaxSessions to 1 will effectively disable
         session multiplexing, whereas setting it to 0 will prevent all
         shell, login and subsystem sessions while still permitting for-
         warding.  The default is 10.

 MaxStartups
         Specifies the maximum number of concurrent unauthenticated con-
         nections to the SSH daemon.  Additional connections will be
         dropped until authentication succeeds or the LoginGraceTime
         expires for a connection.  The default is 10:30:100.

         Alternatively, random early drop can be enabled by specifying the
         three colon separated values ``start:rate:full'' (e.g.
         "10:30:60").  sshd(8) will refuse connection attempts with a
         probability of ``rate/100'' (30%) if there are currently
         ``start'' (10) unauthenticated connections.  The probability
         increases linearly and all connection attempts are refused if the
         number of unauthenticated connections reaches ``full'' (60).

Ubuntu
  1. Samostatný server Ubuntu 8.10 Samba s backendem tdbsam

  2. Samostatný server Ubuntu 9.10 Samba s backendem tdbsam

  3. Samostatný server Ubuntu 10.04 Samba s backendem tdbsam

  1. Samostatný server Ubuntu 10.10 Samba s backendem tdbsam

  2. Instalovat server 18.04 bez připojení k síti?

  3. Jak nainstalovat server Ubuntu bez síťového připojení?

  1. Samostatný server Ubuntu 11.04 Samba s backendem tdbsam

  2. Samostatný server Ubuntu 11.10 Samba s backendem tdbsam

  3. Samostatný server Ubuntu 12.04 Samba s backendem tdbsam