Today, I made a new instance of the server on Aliyun, replacing the previous centOS system with Ubuntu system. When I re-connected with Mac terminal, a large string of English appeared, which was translated and said that there was some wrong key. Later, I tried xshell and found no problem. Therefore, I realized that there was a problem with the configuration of my part, and then I found the problem with the files generated when I connected to this server.
Question:
Login to the virtual machine Linux today, appeared the following tips: @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Solution:
Delete the known_hosts file in the /Users/username/. SSH folder