linux之 ssh連線伺服器,WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
[root@zk01 ~]# ssh localhost
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:r86jc/Vu8phhiKKDSntetfkmksjQ606ZlUP8XNYe44U.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /root/.ssh/known_hosts:10
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
Permission denied (publickey,password,keyboard-interactive).
說明: Add correct host key in /root/.ssh/known_hosts to get rid of this message. 重點在這句話
分析: ssh登入過某機器後,因某機器有變動(更換ip等),再次登入不了,報錯!!!
解決過程:
[root@zk01 ~]# mv /root/.ssh/known_hosts /root/.ssh/known_hosts.bak
[root@zk01 ~]# ssh -o StrictHostKeyChecking=no 172.16.38.130
Warning: Permanently added '172.16.38.130' (ECDSA) to the list of known hosts.
root@172.16.38.130's password:
Last login: Sun Oct 1 12:02:21 2017 from 172.16.74.104
[root@zk01 ~]# ssh localhost ## 輸入密碼,OK!
Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
root@localhost's password:
Last login: Sun Oct 1 12:04:59 2017 from zk01
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31383567/viewspace-2145662/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SSH登入:WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!REMIDE
- ssh遠端連線linux伺服器Linux伺服器
- linux,ssh連線Linux
- SSH遠端連線 Linux 伺服器教程Linux伺服器
- 使用 SSH 遠端連線到 Linux 伺服器Linux伺服器
- 關於vscode透過Remote-SSH遠端連線Linux伺服器記憶體佔用的思考VSCodeREMLinux伺服器記憶體
- 解決使用SSH連線Linux伺服器時連線失敗的故障Linux伺服器
- 使用ssh連線伺服器伺服器
- Linux 伺服器使用 SSH 連線 實現免登陸Linux伺服器
- linux 下 github ssh 無法連線LinuxGithub
- Linux開啟ssh連線putty教程Linux
- VSCode中利用Remote SSH外掛遠端連線伺服器並進行遠端開發VSCodeREM伺服器
- 在VS code使用Remote-SSH遠端連線Linux 開發C++ 配置詳細介紹REMLinuxC++
- Mac SSH 連線出現 Host key verification failed. 錯誤解決MacAI
- ssh遠端連結(簡易連線linux命令)Linux
- ssh連線遠端伺服器出現Host key verification failed. lost connection問題的解決伺服器AI
- 如何從 Windows 上用 SSH 連線到 LinuxWindowsLinux
- Linux網路-ssh遠端連線協議Linux協議
- Xshell 連線虛擬機器出現 "The remote SSH server rejected X11 forwarding request"虛擬機REMServerForward
- ssh免密登入和代理連線線上伺服器伺服器
- 部落格建站4 - ssh遠端連線伺服器伺服器
- SSH連線伺服器後執行多條命令伺服器
- SSH服務連線
- Windows配置ssh免密登入linux+VSCode Remote-SSH免密編寫linux程式碼WindowsLinuxVSCodeREM
- Linux 做 SSH 免密連線 Windows 踩坑記錄LinuxWindows
- Mac SSH 免密登入 連線遠端伺服器Mac伺服器
- [原創] How to pull code when shared repo commit history has been changedMIT
- Linux伺服器---ssh配置Linux伺服器
- 如何除錯SSH連線除錯
- SSH 隧道遠端連線
- 使用 Microsoft Remote Desktop 遠端連線 WindowsROSREMWindows
- Microsoft Remote Desktop Mac(遠端連線工具)ROSREMMac
- fatal: [192.168.65.128]: UNREACHABLE! => {"changed": false, "msg": "SSH Error: data could not be senFalseError
- pycharm透過ssh連線伺服器並上傳專案PyCharm伺服器
- 如何本機通過 SSH 通道連線雲伺服器 MySQL伺服器MySql
- vscode remote-x11 ssh 連線時Another All configured authentication methods failed like #10 報錯修復VSCodeREMAI
- xshell怎麼連線linux虛擬機器 xshell連結linux虛擬機器ssh命令Linux虛擬機
- Linux伺服器---ssh登入Linux伺服器
- Redis Cluster [WARNING] Node 127.0.0.1:7003 has slots in migrating state (15495).Redis127.0.0.1