0℃
2015年10月27日
⁄ Linux
⁄ 被围观 5,429 view+
在ssh连接服务器时会提示:
The authenticity of host 'xx.xx.xx.xx (xx.xx.xx.xx)' can't be established.
RSA key fingerprint is 93:b3:c5:b6:e0:d6:ae:4c:d9:5b:2f:00:2a:a3:cf:89.
Are you sure you want to continue connecting (yes/no)?
具体配置:
cat > ~/.ssh/config << end
UserKnownHostsFile /dev/null
ConnectTimeout 15
StrictHostKeyChecking no
end
或者直接增加"StrictHostKeyChecking=no"参数。
ssh -o StrictHostKeyChecking=no root@xx.xx.xx.xx
ssh阅读全文
0℃