GNU/Linux >> Tutoriales Linux >  >> Ubuntu

Ubuntu Server, ¿Múltiples usuarios remotos simultáneos?

Estoy configurando un nuevo Servidor Ubuntu (16.04) al que tendrán acceso hasta 50 personas al mismo tiempo.
He seguido este tutorial para configurar el XRDP con el xfce y todo está bien hasta ahora , el problema es que solo 10 usuarios pueden iniciar sesión al mismo tiempo.
¿Alguien puede ayudar con eso?
gracias.

Respuesta aceptada:

Debe aumentar la conexión permitida predeterminada mediante

/etc/ssh/sshd_config

Archivo, agregue las líneas

MaxSessions 50
MaxStartups 50:30:100

a ese archivo. Luego reinicie su sistema.

Formulario 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. Servidor independiente Ubuntu 8.10 Samba con tdbsam Backend

  2. Servidor independiente Ubuntu 9.10 Samba con tdbsam Backend

  3. Servidor independiente Ubuntu 10.04 Samba con tdbsam Backend

  4. Servidor independiente Ubuntu 10.10 Samba con tdbsam Backend

  5. Servidor independiente Ubuntu 11.04 Samba con tdbsam Backend

Configuración básica de conexión cliente/servidor Ubuntu 20.04 OpenVPN

Configuración básica de conexión cliente/servidor Ubuntu 22.04 OpenVPN

Cómo instalar el servidor Xrdp (escritorio remoto) en Ubuntu 18.04

Cómo instalar el servidor Xrdp (escritorio remoto) en Ubuntu 20.04

¿Ubuntu 14.10 Múltiples conexiones remotas independientes simultáneas (como un escritorio)?

Cómo instalar el servidor Xrdp (escritorio remoto) en Ubuntu 22.04