[root@iZ233ytunndZ ~]# ssh -i alicesso.pem [email protected]
The authenticity of host 'ec2-54-228-137-210.cn-north-1.compute.amazonaws.com.cn (54.228.137.210)' can't be established.
RSA key fingerprint is 33:3f:2d:74:1d:80:36:c9:04:e2:3b:99:ed:3e:45:ff.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'ec2-54-228-137-210.cn-north-1.compute.amazonaws.com.cn,54.228.137.210' (RSA) to the list of known hosts.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0777 for 'alicesso.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: alicesso.pem
Enter passphrase for key 'alicesso.pem':
一般選對秘鑰不就應該直接就可以ssh到目標主機嗎?請大神指點
Permission denied (publickey).
uj5u.com熱心網友回復:
樓主有解決了嗎?我也出現 這個問題,之前是可以連接的。uj5u.com熱心網友回復:
由于alicesso.pem的權限太高導致的,使用以下命令可以解決:chmod 600 alicesso.pem
uj5u.com熱心網友回復:
puttygen 生成private key 成ppk再等 如果你是windows的話uj5u.com熱心網友回復:
看看還是好的 擴展一下uj5u.com熱心網友回復:
2樓方法可以解決提示也說了是權限太開放了
Permissions 0777 for 'alicesso.pem' are too open.
It is recommended that your private key files are NOT accessible by others.
uj5u.com熱心網友回復:
看上去像是permission問題轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/80043.html
標籤:AWS
上一篇:Digital Ocean云端作業系統 與 RStudio 服務器
下一篇:spark的一個初級問題
