ssh 跳过key fingerpringt 提示

命令中间加参数 -o “StrictHostKeyChecking no” 即可跳过

ssh ,scp ,ssh-copy-id之类的都有效

ansible 可以编辑配置文件 /etc/ansible/ansible.cfg 设置 host_key_checking = False 保存生效

Leave a Reply

Your email address will not be published. Required fields are marked *