Dear Geek,
I see your ClientAliveInterval is 300. It means that SSH connection will be automatically disconnected in 5 minutes, and the patch operation is usually not completed in 5 minutes.
Here are 2 solutions:
Log in to each node as the root user, modify the configuration file / etc / ssh / sshd_config, Comment out the two parameters ClientAliveCountMax, ClientAliveInterval, or modify the values of these two parameters to satisfy ClientAliveCountMax * ClientAliveInterval to ensure that these two values are multiplied > = 900 (15min), then restart the sshd service, service sshd restart.
Any further questions, let us know!