我正在学习亚马逊的教程here.直到这里一切都很好,我不太明白。Inthecommand,replace~/mykeypair.pemwiththelocationandfilenameofyour.pemfileandreplaceec2-###-##-##-###.compute-1.amazonaws.comwiththemasterpublicDNSnameofyourcluster.我知道从哪里获得主公共(public)DNS名称,但我不知道如何找到mykeypair.pem文件。 最佳答案 具体到命令,ssh-i~/my