ssh 登录忽略掉 Warning: Permanently added '192.168.0.12' (ECDSA) to the list of known hosts.

使用

ssh -q -o "trictHostKeyChecking no" [email protected]

or

ssh -q -o 'StrictHostKeyChecking no' -o 'UserKnownHostsFile /dev/null' [email protected]


均可以达到效果

 

你可能感兴趣的:(linux命令)