解决每次进行ssh连接都需要确认

     我的虚拟机在进行SSH连接时,每次都需要输入yes进行确认:

The authenticity of host '123.139.xxx.xx (123.139.xxx.xx)' can't be established.
ECDSA key fingerprint is ab:5d:f6:4a:3a:76:a1:19:ae:30:29:05:66:1f:30:0f.
Are you sure you want to continue connecting (yes/no)?

      几遍之后就受不了了,修改/etc/ssh_config配置:

StrictHostKeyChecking no

  问题解决。

None
原文地址:https://www.cnblogs.com/yuxc/p/2772484.html