…I tried it following many tutorials on the Internet:
- Create a new key, add it to gitee, and test again.
- Modify the host and add gitee’s IP address to it.
- Modify the .gifconfig configuration file and configure it as an SSH warehouse link.
None of the above methods worked. I found an article later: When SSH is connected to the server, the connection cannot be made. The following errors occur and the reasons and solutions a>
I found out that this is because this file is usually configured when starting gitee. After modification, it is finally deleted. Moreover, I have left many other key files before, so I only keep the required keys. It can be successful. .