当前位置:   article > 正文

ssh免密报错:Could not resolve hostname : Name or service not known_ssh: could not resolve hostname c: name or service

ssh: could not resolve hostname c: name or service not known

解决方法:
需要将对应的ip地址加到文件名/etc/hosts中。
如:
192.168.128.129 cdh1
192.168.128.130 cdh2
192.168.128.131 cdh3

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Guff_9hys/article/detail/1000102
推荐阅读
相关标签
  

闽ICP备14008679号