Permission for SSH private keys (600)
$ chmod 600 [file]
- Command
- chmod
- Description
- Read/Write for owner only. Required for SSH private keys (.pem, id_rsa).
- Deep Dive
- If permissions are too open, SSH will reject the key with 'WARNING: UNPROTECTED PRIVATE KEY FILE!'