On 10/07/2015 10:45 PM, Hua Wang wrote: > >> >>> I tried to ping the server, and it can accept all data. Is there a good way >>> to check it? >> >> ssh -v, ssh -vv and ssh -vvv might give you some interesting information. >> > Yes, I tried ssh -vvv. It gave a lot of information while login, but it quit without any further information except for “write failed, broken pipe’. > >>> The problem came out while reinstalling centos 7.7. >> >> Since you're apparently using some kind of an unofficial or non-standard version of Centos, you might want to try using a current (regular) one instead. >> > > Sorry I made a mistake for the version. I am using v7 instead of v7.7. > Try using ClientAliveMaxCount and ServerAliveCountMax (you can set them to 5 or 8 instead of the default of 3 and also make the timeouts higher than 60. make sure you are using 'protocol 2'. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20151008/a685330b/attachment-0005.sig>