How To Create PPK Key For Login Using SSH In Linux

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.

Check Out: How To Create SSh Key With OpenSSH For User On CentOS 7

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 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.

Check Out: Troubleshoot Linux Server Performance Using vmstat Command

You will put this 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.

Check Out: How To Install Puttygen Using Command Line In Ubuntu 18.04

cat id_rsa 

I have saved this key with name user.pem and I will use this key to create ppk.

Open puttygen and click on load.

find pem key

And select this key and save as private key.

create ppk using puttygen

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

Share on:

I'm the founder of Curious Viral. I hope this blog will provide you complete information about Linux Technology & I would like to share my technical knowledge with you which I have learned during this period.

Other Posts You May Like...

Leave a comment