[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).
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).
chmod 600 alicesso.pem
提示也说了是权限太开放了
Permissions 0777 for 'alicesso.pem' are too open.
It is recommended that your private key files are NOT accessible by others.