0
我正嘗試連接到AWS實例並出現以下錯誤。連接到aws服務時出錯
[email protected]:/media/18AB-992F$ ssh -i shantanuo.pem abc.compute-1.amazonaws.com
The authenticity of host 'abc.compute-1.amazonaws.com (107.22.129.243)' can't be established.
RSA key fingerprint is 0d:f0:ab:53:bb:fc.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'abc.compute-1.amazonaws.com,107.22.129.243' (RSA) to the list of known hosts.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for 'shantanuo.pem' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: shantanuo.pem
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
我無法更改文件的權限,因爲我使用的是Ubuntu Live CD。 「shantanuo.pem」的文件權限是唯一的問題嗎?
文件權限確實是一個問題。我有幾次這個錯誤,它通過更改權限得到修復。 – 2012-01-14 03:11:19