I'm new to using git, and I'm trying to connect to my repo on GitLab. I keep getting the following error message:
Received disconnect from 35.231.145.151 port 22:2: Connection blocked because server only allows public key authentication. Please contact your network administrator. Disconnected from 35.231.145.151 port 22 fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
I've tried to add a new public key, as well as remove the known hosts file and have gitlab added to a new one. Nothing seems to work.
Can anyone please help me with this?
Thank you in advance!
Seems that the error happened because of SSL/SSH inspection on the firewall, please check with your network administrator to fix it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With