google-chrome - 警告 : REMOTE HOST IDENTIFICATION HAS CHANGED! Chrome 安全外壳应用程序扩展

标签 google-chrome ssh

Loading NaCl plugin... done.
Connecting to user@172.27.0.31...
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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:C11asdfasdfxY6asdfasdfIUfadsfasdRB4.
Please contact your system administrator.
Add correct host key in /.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /.ssh/known_hosts:21
ECDSA host key for 172.27.0.31 has changed and you have requested strict checking.
Host key verification failed.
NaCl plugin exited with status code 255.
(R)econnect, (C)hoose another connection, or E(x)it?

此错误与 Chrome Secure Shell 应用扩展有关。

如果您受到中间人攻击或由于服务器端的证书更改,则可能会发生此错误。

之前对此的修复是使用 Chrome 控制台从已知主机中删除本地条目:

term_.command.removeKnownHostByIndex(21)

但产生错误:

VM237:1 Uncaught TypeError: term_.command.removeKnownHostByIndex is not a function
    at <anonymous>:1:15 

最佳答案

现在(我的 chrome 版本 85.0.4183.83(正式版)(64 位))可以在扩展设置中手动删除一个条目。 3 个点(chrome 右上角)> 更多工具 > 扩展 > Secure Shell 应用程序详细信息 > 扩展 > 选项 > SSH 文件 > 删除 ~/.ssh/known_hosts 中的特定条目(整行)

enter image description here

enter image description here

enter image description here

关于google-chrome - 警告 : REMOTE HOST IDENTIFICATION HAS CHANGED! Chrome 安全外壳应用程序扩展,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63815375/

相关文章:

javascript - Adobe Animate HTML5 Canvas 问题仅适用于 Google Chrome。动画滞后

html - Chrome 中带有 HTML 选择的奇怪行为

javascript - CSSOM 和 DOM 构造是在并行线程上进行的吗?

linux - 为将来的命令保持多个 SSH 连接

php - ssh2_scp_send() 什么时候返回?

css - 为什么 Chrome DevTools 响应视口(viewport)认为它是 980px 宽?

javascript - Chrome 扩展程序 - 请求新权限

linux - cd 到目录和 su 到脚本中远程服务器上的特定用户

git - SSH 克隆/推送到 Bitbucket 禁止

mysql - 无法通过 SSH 使用 Java 连接到 MySQL 数据库