GNU/Linux >> Belajar Linux >  >> Ubuntu

Server Ubuntu, Banyak Pengguna Jarak Jauh Secara Bersamaan?

Saya sedang menyiapkan Server Ubuntu baru (16.04) yang dapat diakses hingga 50 orang secara bersamaan.
Saya telah mengikuti tutorial ini untuk menyiapkan XRDP dengan xfce dan sejauh ini semuanya baik-baik saja , masalahnya hanya 10 pengguna yang bisa login pada saat yang sama.
ada yang bisa bantu soal itu.
terima kasih.

Jawaban yang Diterima:

Anda perlu meningkatkan koneksi default yang diizinkan menggunakan

/etc/ssh/sshd_config

File, tambahkan baris

MaxSessions 50
MaxStartups 50:30:100

ke file itu. Kemudian restart sistem Anda.

Formulir 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 Server Standalone Dengan Backend tdbsam

  2. Ubuntu 9.10 Samba Server Standalone Dengan Backend tdbsam

  3. Ubuntu 10.04 Samba Server Standalone Dengan Backend tdbsam

  1. Ubuntu 10.10 Samba Server Standalone Dengan Backend tdbsam

  2. Ubuntu 11.04 Samba Server Mandiri Dengan Backend tdbsam

  3. Ubuntu 11.10 Samba Server Standalone Dengan Backend tdbsam

  1. Ubuntu 12.04 Samba Standalone Server Dengan Backend tdbsam

  2. Instal Server 18.04 Tanpa Koneksi Jaringan?

  3. Bagaimana Cara Menginstal Server Ubuntu Tanpa Koneksi Jaringan?