我要评分
获取效率
正确性
完整性
易理解

Changing the Number of SSH Connections

By default, the maximum number of SSH connections for Greenplum is 250. To ensure the maximum number of node connections, you need to modify the values of the OS parameters MaxStartups and MaxSessions.

The values of MaxStartups and MaxSessions should be slightly smaller than the default maximum number of SSH connections (250). The following describes how to set the value to 200.

  1. Open the /etc/ssh/sshd_config file.
    1
    vim /etc/ssh/sshd_config
    
  2. Press i to enter the insert mode, locate MaxStartups and MaxSessions, and set their values to 200:
    1
    2
    MaxStartups 200
    MaxSessions 200
    
  3. Press Esc, type :wq!, and press Enter to save the file and exit.