Host loses connection and then reconnects automatically
The sshd service has reached the maximum number of sessions.
-
SSH into the host and edit /etc/ssh/sshd_config. Change the MaxSessions parameter from the default value of 10 to 50.
-
Run the following command to restart the sshd service:
[root@localhost ~]# systemctl restart sshd.service