GNU/Linux >> LINUX-Kenntnisse >  >> Ubuntu

Ubuntu Server, mehrere gleichzeitige Remote-Benutzer?

Ich richte einen neuen Ubuntu-Server (16.04) ein, auf den bis zu 50 Personen gleichzeitig Zugriff haben werden.
Ich habe dieses Tutorial befolgt, um das XRDP mit xfce einzurichten, und bisher ist alles in Ordnung , das Problem ist, dass nur 10 Benutzer gleichzeitig angemeldet sein können.
Kann jemand dabei helfen.
Danke.

Akzeptierte Antwort:

Sie müssen die standardmäßig zulässige Verbindung mithilfe von

erhöhen
/etc/ssh/sshd_config

Datei, füge die Zeilen hinzu

MaxSessions 50
MaxStartups 50:30:100

zu dieser Datei. Starten Sie dann Ihr System neu.

Form 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. Ubuntu 8.10 Samba Standalone Server mit tdbsam Backend

  2. Ubuntu 9.10 Samba Standalone Server mit tdbsam Backend

  3. Ubuntu 10.04 Samba Standalone Server mit tdbsam Backend

  4. Ubuntu 10.10 Samba Standalone Server mit tdbsam Backend

  5. Ubuntu 11.04 Samba Standalone Server mit tdbsam Backend

Grundlegende Einrichtung der Ubuntu 20.04 OpenVPN-Client/Server-Verbindung

Grundlegende Einrichtung der Ubuntu 22.04 OpenVPN-Client/Server-Verbindung

So installieren Sie den Xrdp-Server (Remote Desktop) unter Ubuntu 18.04

So installieren Sie den Xrdp-Server (Remote Desktop) unter Ubuntu 20.04

Ubuntu 14.10 Mehrere gleichzeitige unabhängige Remote-Verbindungen (Desktop-ähnlich)?

So installieren Sie den Xrdp-Server (Remote Desktop) unter Ubuntu 22.04