我使用elastic-mapreduce
從命令行中旋轉新的集羣。讀取this教程之後,我有:不能ssh到彈性MapReduce
elastic-mapreduce --create --alive \
--instance-type m1.xlarge\
--num-instances 5 \
--supported-product mapr \
--name m7 \
--args "--edition,m7"
與6個節點(1個主+ 5從站)的一個新的集羣將被創建。所以我儘量ssh
到主:
elastic-mapreduce --jobflow j-3FLVMX9CYE5L6 --ssh
,我得到Permission denied (publickey)
的permissions.json
文件在elastic_mapreduce
家,也是路徑my_key.pem
文件。 此外,這樣做:
ssh -i my_key.pem [email protected]
我也得到Permission denied (publickey)
。 my_key.pem已被授予400
權限。我真的不知道接下來可以嘗試什麼......任何線索?
當我去EC2
控制檯,我點擊Connect
,我得到以下錯誤信息:
Instance is not associated with a key pair.
This instance is not associated with a Key Pair. Without a Key Pair you will need to log into this instance using a valid username and password combination.