How to SSH using .pem Private key
On linux
- make sure you own .pem key file on your local machine.
- use this command :
- make sure permission for .pem file is 400,otherwise it will shown this error
Permissions 0644 for 'yourkey.pem' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: cozi.pem
- you can check your current permission using
ls -l /path/yourkey.pem
- standard permission for .pem file are 400 which is user read only,to change permission use this
chmod 400 /path/yourkey.pem
- You should be logged in now.
No Comment to " How to SSH using .pem Private key "