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
- Linux - SSH: WARNING REMOTE HOST IDENTIFICATION HAS CHANGEDLinuxREMIDE
- SSH登入:WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!REMIDE
- WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!REMIDE
- SSH登入警告(WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!)REMIDE
- SSH登陸錯誤 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!REMIDE
- WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED解決方法REMIDE
- ssh登陸 “remote host identification has changed!“ 解決方案REMIDE
- Linux scp 提示"WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED" 的解決方案LinuxREMIDE
- REMOTE HOST IDENTIFICATION HAS CHANGED 問題解決REMIDE
- ssh問題:ssh_exchange_identification: Connection closed by remote hostIDEREM
- ssh連線Linux收到The remote system refused the connection報錯LinuxREM
- linux之間連線—使用SSHLinux
- SSH遠端連線Linux伺服器Linux伺服器
- SSH遠端連線 Linux 伺服器教程Linux伺服器
- 使用ssh連線伺服器伺服器
- 使用 SSH 遠端連線到 Linux 伺服器Linux伺服器
- 解決使用SSH連線Linux伺服器時連線失敗的故障Linux伺服器
- Linux 伺服器使用 SSH 連線 實現免登陸Linux伺服器
- 關於vscode透過Remote-SSH遠端連線Linux伺服器記憶體佔用的思考VSCodeREMLinux伺服器記憶體
- Mac SSH 連線出現 Host key verification failed. 錯誤解決MacAI
- Linux開啟ssh連線putty教程Linux
- linux 遠端連線ssh錯誤Linux
- linux 下 github ssh 無法連線LinuxGithub
- ssh連線遠端伺服器出現Host key verification failed. lost connection問題的解決伺服器AI
- VSCode中利用Remote SSH外掛遠端連線伺服器並進行遠端開發VSCodeREM伺服器
- ssh遠端連結(簡易連線linux命令)Linux
- ssh埠轉發(之kettle ssh方式連線資料庫)資料庫
- 在VS code使用Remote-SSH遠端連線Linux 開發C++ 配置詳細介紹REMLinuxC++
- SSH連線Linux中文亂碼問題Linux
- 遠端連線Kali Linux使用PuTTY實現SSH遠端連線Linux
- SSH連線伺服器後執行多條命令伺服器
- 部落格建站4 - ssh遠端連線伺服器伺服器
- 遠端連線dockerdaemon,DockerRemoteAPIDockerREMAPI
- SSH服務連線
- Ssh連線過慢
- 如何從 Windows 上用 SSH 連線到 LinuxWindowsLinux
- Linux網路-ssh遠端連線協議Linux協議