一、ssh链接服务器提示
The authenticity of host ' ' can't be established.
ECDSA key fingerprint is SHA256:.
Are you sure you want to continue connecting (yes/no/[fingerprint])?
二、永久解决 | 屏蔽提示
1、打开文件
sudo vi /etc/ssh/ssh_config
2、修改文件内容
Host *StrictHostKeyChecking no
三、临时解决
ssh -o StrictHostKeyChecking=no cherry@10.110.19.2
这样操作引入了新的提示:
Warning: Permanently added '10.110.19.2' (ECDSA) to the list of known hosts.
消除引入提示
ssh -o StrictHostKeyChecking=no -o LogLevel=ERROR cherry@10.110.19.2