- The pem file is generated by AWS console
- I was able to connect using the EC2 remote web interface, using the same pem file
- The permission of pem is 600 already
ssh -i ~/test.pem -v firstname.lastname@example.org debug1: Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Trying private key: /home/john/test.pem debug1: PEM_read_PrivateKey failed debug1: read PEM private key done: type <unknown> Enter passphrase for key '/home/john/test.pem':
Anyone can help?