ssh-keygen -t rsa
遇到提示时,按回车。如下图:
ssh-copy-id root@[serverIP]
serverIP填写自身节点服务器IP地址,如下图:
ssh-copy-id root@[agentIP]
agentIP填写其他节点服务器IP地址,如下图: