How To Create PPK Key For Login Using SSH In Linux
You can log in Linux server using ssh key which is the safest way to give authentication for the user. You will need to create a key by using it the user can access the Linux Server. Let’s see how to create the PPK key putty using puttygen and find pem key.
if you do not how to create an ssh key, follow the below link.
I’m assuming you have created the SSH key and hidden ssh folder. Once you’ve created key, there are two key: id_rsa will be your private key and id_rsa.pub will be your public key.
Create a file using touch autorization_keys under .ssh folder inside the user home directory and change the permission of file with chmod 600 autorization_keys.
You will put this id_rsa.pub key on the server where you have to give access to a user under a folder .ssh/autorization_keys.
Change the folder permission with command chmod 750 .ssh
And open id_rsa and save it with name.pem then use this key to create PPK key by puttygen.
I have saved this key with name user.pem and I will use this key to create ppk.
Open puttygen and click on load.
And select this key and save as private key.
Now use this user.ppk key to login Linux Server without a password.
YouTube Link: Create a key for Linux
You’re done. create ppk using puttygen find pem key putty