ssh: Could not resolve hostname localhost: nodename nor servname provided, or not known

搭建Hadoop僞集羣的時候,需要ssh 免密登錄,當執行hadoop啓動腳本是時候報錯:  解決 一、運行SSH    (1)ssh-****** -t rsa -P '' -f ~/.ssh/id_rsa    (2)cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys    (3)ssh localhost       要保證:  ~/.ssh需要是
相關文章
相關標籤/搜索