登錄節(jié)點上執(zhí)行 1、生成密鑰 ssh-keygen -t rsa 輸入命令后一直按回車 2、切換到家目錄的.ssh目 錄 cd ~/.ssh cat id_rsa.pub >> authorized_keys