I am using Amazon's EC2 cluster for running GraphLab. They want the location of my .pem
file, which is my private key.
After searching I still I could not find the file in ubuntu. I am using PuTTY.
The pem key (private key) file is on your local PC. The EC2 machine has only the public key. If you want to scp from one EC2 to another EC2 instance that are launched using the same keypair, you have to transfer your pem key file to one of your EC2 machines.
PEM stands for Privacy Enhanced Mail. The PEM format is often used to represent certificates, certificate requests, certificate chains, and keys. The typical extension for a PEM–formatted file is . pem , but it doesn't need to be. AWS does not provide utilities for manipulating PEM files or other certificate formats.
When you create an Amazon EC2 instance, AWS generates the access keys in a Privacy Enhanced Mail (PEM) format. For those who want to PuTTY to their EC2 instance, there's a complication: PuTTY does not natively support the PEM file format. You must convert the PEM to a PPK file in order to PuTTY into the instance.
File created by PuTTYgen (PuTTY Key Generator), a program used for generating keys for public-key cryptography; stores a private key generated by the program; used for enabling secure communication with a remote entity that has the corresponding public key.
.pem
file is what you have download from AWS when you created your key-pair. This is only a one time download and you cannot download it again.
Your software is asking for .pem
file. Now you are the one who needs to locate that file. You might have downloaded it on you laptop/desktop...etc.
As I said above, .pem
is not saved anywhere on EC2. It is a one time download and you have to keep it safe.
For Putty
(windows ssh client), it does not support .pem
format. Hence you have to convert it to .ppk
format using PuTTyGen. Its essentially .pem
but in a different format so that Putty
can work with it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With