ssh登錄時Warning:Permanently added (RSA) to the list of known hosts的警告

當主機使用ssh免密碼登錄時,彈出Warning:Permanently added (RSA) to the list of known hosts的警告。 通過以下方法進行解決: vim /etc/ssh/ssh_config(master和slave1都需要設置) 找到#StrictHostKeyChecking ask去掉註釋,並把ask改爲no即可 效果測試
相關文章
相關標籤/搜索