Error: kex_exchange_identification: Connection closed by remote host
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
While cloning,pulling and pushing "Error: kex_exchange_identification: Connection closed by remote host" been observed and it becomes normal afterwards.Identified below 2 errors which keeps piled up in the gitlab server auth logs. I un tarred the old auth logs, i do see the same errors there as well.
- "maximum authentication attempts exceeded" for various users(admin and root users), the admin user might be used by Argocd.
- kex_exchange_identification: Connection closed by remote host
There are 2 properties here, MaxAuthTries and Max_Startups, what should be the desired values for the below properties.? Is there any other issues,Could you please suggest?
root@gitlab-server:~# cat /etc/ssh/sshd_config |grep -i "MaxAuthTries" #MaxAuthTries 6 MaxAuthTries 4 root@gitlab-server:/var/log# cat /etc/ssh/sshd_config |grep -i "MaxStartups" MaxStartups 10:30:60
@gitlab-bot label ~"group::Gitaly::Git group"