刘月林 | 关于服务器初始化之后的注意事项

2018-08-02  本文已影响0人  刘月林Yuelin_MELB
刘月林
ssh root@********
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:4A9+5CWF3BYw8S1R4igwVBYWyLjLAJn3m7C/E3IfhW4.
Please contact your system administrator.
Add correct host key in /Users/liuyuelin/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/liuyuelin/.ssh/known_hosts:6
ECDSA host key for ******** has changed and you have requested strict checking.
Host key verification failed.
 ✘ liuyuelin@liuyuelindeMacBook-Pro ⮀ ~ ⮀ ssh deploy@********
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:4A9+5CWF3BYw8S1R4igwVBYWyLjLAJn3m7C/E3IfhW4.
Please contact your system administrator.
Add correct host key in /Users/liuyuelin/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/liuyuelin/.ssh/known_hosts:6
ECDSA host key for ******** has changed and you have requested strict checking.
Host key verification failed.
 ✘ liuyuelin@liuyuelindeMacBook-Pro ⮀ ~ ⮀ ssh-keygen -l -f ~/.ssh/known_hosts
256 SHA256:F0p7sAJdtMZ6AG2EtR5t48vwZ1UadWFv4f0a6LtTtZ8 ******** (ECDSA)
256 SHA256:rg+zeuY6cbxJnK5liLI495O4Tqb2K2x5eOXg5Wg1D7o ******** (ECDSA)
256 SHA256:xUEXBV3oESt10ctoYy/Egw2DiFhlYJJbetot5p791u4 ******** (ECDSA)
2048 SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8 github.com,52.74.223.119 (RSA)
2048 SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8 ******** (RSA)
256 SHA256:v9etjDGuFPjX8KTB7/tHI00wuOY2DPifS6579rttD0c ********(ECDSA)
 liuyuelin@liuyuelindeMacBook-Pro ⮀ ~ ⮀ ssh deploy@ ********
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:4A9+5CWF3BYw8S1R4igwVBYWyLjLAJn3m7C/E3IfhW4.
Please contact your system administrator.
Add correct host key in /Users/liuyuelin/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/liuyuelin/.ssh/known_hosts:6
ECDSA host key for******** has changed and you have requested strict checking.
Host key verification failed.
 ✘ liuyuelin@liuyuelindeMacBook-Pro ⮀ ~ ⮀ ssh-keygen -R ********
# Host ******** found: line 6
/Users/liuyuelin/.ssh/known_hosts updated.
Original contents retained as /Users/liuyuelin/.ssh/known_hosts.old
 liuyuelin@liuyuelindeMacBook-Pro ⮀ ~ ⮀ ssh deploy@********
The authenticity of host '******** (********)' can't be established.
ECDSA key fingerprint is SHA256:4A9+5CWF3BYw8S1R4igwVBYWyLjLAJn3m7C/E3IfhW4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '********' (ECDSA) to the list of known hosts.
deploy@********'s password:
Permission denied, please try again.
deploy@********'s password:
Permission denied, please try again.
deploy@********'s password:
deploy@********: Permission denied (publickey,password).
 ✘ liuyuelin@liuyuelindeMacBook-Pro ⮀ ~ ⮀ ssh root@********
root@********'s password:
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 4.4.0-93-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

Welcome to Alibaba Cloud Elastic Compute Service !

错误分析:
1+初始化磁盘之后没有更新系统
2+没有采用 root 登录
🔗https://www.jianshu.com/p/04328ed5970e

刘月林
写于湖北沙洋
2018/08/02

上一篇下一篇

猜你喜欢

热点阅读