The authenticity of host can’t be established ECDSA key fingerprint is SHA256

LinuxThe authenticity of host can’t be established ECDSA key fingerprint is SHA256已关闭评论830

SSH登录连接Linux服务器提示The authenticity of host can't be established ECDSA key fingerprint is SHA256: Are you sure you want to continue connecting (yes/no/[fingerprint])?

The authenticity of host can’t be established ECDSA key fingerprint is SHA256

SSH ECDSA key fingerprint is SHA256

解决SSH The authenticity of host can't be established

SSH命令连接云服务器:ssh root@服务器ip地址,提示如下:文章源自新手站长-https://xinshouzhanzhang.com/sshecdsakeyfingerprint.html

The authenticity of host ' ' can't be established.
ECDSA key fingerprint is SHA256:.
Are you sure you want to continue connecting (yes/no/[fingerprint])? 文章源自新手站长-https://xinshouzhanzhang.com/sshecdsakeyfingerprint.html

SSH连接服务器为什么会出现这个提示?新手站长网猜测可能是一种安全机制,出现这种情况一般有两个原因,一个是第一次登录云服务器,另一个是主机key发生了变化,解决方法很简单,输入yes,然后回车即可。文章源自新手站长-https://xinshouzhanzhang.com/sshecdsakeyfingerprint.html

那么问题来了,如果经常出现这个SSH提示怎么办?可以在SSH的时候加上StrictHostKeyChecking选项,新手站长网举例说明:ssh -o StrictHostKeyChecking=no root@你的本地IP地址文章源自新手站长-https://xinshouzhanzhang.com/sshecdsakeyfingerprint.html

还有一种彻底去掉SSH主机验证的方法,就是修改/etc/ssh/ssh_config配置文件,在ssh_config配置文件中添加:文章源自新手站长-https://xinshouzhanzhang.com/sshecdsakeyfingerprint.html

StrictHostKeyChecking no
UserKnownHostsFile /dev/null

新手站长网是不建议这么做的,毕竟不安全。而且一边输入yes回车即可解决问题,没必要这么麻烦。文章源自新手站长-https://xinshouzhanzhang.com/sshecdsakeyfingerprint.html 文章源自新手站长-https://xinshouzhanzhang.com/sshecdsakeyfingerprint.html

【阿里云99元服务器】入口2核2G3M带宽、新老用户同享、99元/年续费到2027年

【腾讯云特价】:2核2G3M 88元一年、2核2G4M 108元1年 366元3年、2核4G5M 166元/年 566元3年、4核8G12M 446元一年 更多配置8核16G18M和16核32G28M 点我直达 >>

2023阿里云优惠活动:xinshouzhanzhang.com/go/aliyun

注意:以上特价轻量服务器限制条件为“产品首单特惠”,如果你的腾讯云账号已经是老用户,建议重新注册一个腾讯云账号,如果你是新用户符合条件,那么无脑入,确实值得。

 
  • SSH
  • ECDSA key fingerprint is SHA256
  • SSH can't be established
  • SSH连接The authenticity of host can't be established
  • StrictHostKeyChecking
  • The authenticity of host
SSH

Windows支持SSH的方法安装OpenSSH即可搞定

Windows系统下默认不支持SSH命令,那么Linux运维在windows客户端下如何使用ssh命令呢?很简单,安装OpenSSH即可搞定,新手站长网分享win系统下安装OpneSSH支持SSH命令...
Linux

Linux系统下修改SSH默认22端口的方法

Linux系统下的SSH服务默认使用22端口,使用默认端口可能会被暴力破解,新手站长网建议大家更改SSH的默认22端口为其他端口,更改SSH默认端口的方法: 更改默认端口的方法 Linux系统下SSH...