Mac terminal connected to the VPS does not change the password on solutions

 

This article addresses: https://www.cnblogs.com/veinyin/p/11543225.html

 

By moving watts ( which is actually a sensitive word ) work buy VPS Because the password only once when connection can not remember thinking about updating your password

But we found Rom message as follows

 

 1 ssh -p port root@ip
 2 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 3 @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
 4 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 5 IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
 6 Someone could be eavesdropping on you right now (man-in-the-middle attack)!
 7 It is also possible that a host key has just been changed.
 8 The fingerprint for the RSA key sent by the remote host is
 9 SHA256:+fOgw8j3Q07aT1XmTd1+EFe4fp8RSoEM5lOk/ZVtYwY.
10 Please contact your system administrator.
11 Add correct host key in /Users/veinyin/.ssh/known_hosts to get rid of this message.
12 Offending RSA key in /Users/veinyin/.ssh/known_hosts:11
13 RSA host key for [ip]:port has changed and you have requested strict checking.
14 Host key verification failed.

 

In line 12 you can see that we still do not verify the information before the password generated content input in the console

vim .ssh/known_hosts

 

Find the line that corresponds to ip deleted after pressing · ESC · Input: wq to save the changes

Connect it again 

 

END~~~≥ω≤

 

Guess you like

Origin www.cnblogs.com/veinyin/p/11543225.html