一切福田,不離方寸,從心而覓,感無不通。
当主机使用ssh免密码登录时,弹出Warning:Permanently added (RSA) to the list of known hosts的警告,看着很碍眼。通过以下方法进行解决:
1:vim /etc/ssh/ssh_config(master和slave1都需要设置)
找到#StrictHostKeyChecking ask去掉注释,并把ask改为no即可
Copyright © 2024 Longsheng All rights reserved