login with ppk 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,

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. Once you created key, there are two key: id_rsa will be your private key and id_rsa.pub will be your public key.

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.

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.

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.

Leave a Reply

Notify of