During cluster deployment, TiUP received an `ssh: handshake failed: read tcp -> read: connection reset by peer` error

The error might occur because the default number of concurrent threads of TiUP exceeds the default maximum number of SSH connections. To solve the issue, you can increase the default number of SSH connections, and then restart the sshd service:

vi /etc/ssh/sshd_config
MaxSessions 1000
MaxStartups 1000