linux ssh登录aws EC2主机失败报秘钥错误,请高手指点
李良川 2014-11-04 07:27:40 [root@iZ233ytunndZ ~]# ssh -i alicesso.pem root@ec2-54-228-137-210.cn-north-1.compute.amazonaws.com.cn
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).