Mac link Tencent cloud linux server abnormal repair (WARNING:! REMOTE HOST IDENTIFICATION HAS CHANGED)

Today, when using SSH, connect to a remote server, the beginning is not the problem. 
Later, after a bit heavy Tencent cloud host system, no longer Rom. It has reported a fault.

Solution, there is a look at the error log:

Add correct host key in /Users/wangdong/.ssh/known_hosts to get rid of this message.

To the editor of the way into this file

vim /Users/mengtao/.ssh/known_hosts

The red box portion deleted 

Remote connection again, the perfect solution.

The reason is because the only reinstall the system, again on remote connections, after entering yes, this information will be opportunities for the remote machine, writes /Users/mengtao/.ssh/known_hosts file, so if the remote reinstall the system, The machine must first clean out.

Guess you like

Origin www.cnblogs.com/mengtaoadmin/p/11305867.html