Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

where do I keep my amazon .pem file on a mac

Where should I keep this file for security? At the moment it is on my desktop - should I put it somewhere else?

like image 799
leblaireau Avatar asked Sep 02 '14 15:09

leblaireau


People also ask

Where should PEM files be stored?

The 'standard' location would be a . ssh directory in your $HOME. i.e. You should protect this directory with permissions 700.


1 Answers

The 'standard' location would be a .ssh directory in your $HOME. i.e.

/Users/$USER/.ssh/ 

You should protect this directory with permissions 700. You can setup a config file to automatically use the .pem, and set the username when sshing to EC2 instances.

like image 186
Daniel Scott Avatar answered Sep 21 '22 22:09

Daniel Scott