Connect with SSH Keys Using Putty

SSH Keys Using Putty Image

Step 1: Generate SSH Keys

Open Puttygen and click on Generate to obtain both keys:

Puttygen Generate Puttygen Generated Keys

Click on Save private key to obtain the private key (.ppk)

Enter passphrase if desired. The passphrase adds an extra layer of protection to the private key.

Step 2: Configure SSH on Server

Open the file ~/.ssh/authorized_keys on your server.

Paste the public key into this file.

Paste Public Key

Save the file and execute:

systemctl restart ssh

Step 3: Configure Putty

Now open Putty:

How to Install LAMP Apache, MySQL, PHP on Debian 11 ? Install and Configure Nagios on Debian 11 Install PureFTPd and Set Up MySQL Install Certbot Configuring Virtual Hosts on Debian 11 with Apache and OpenSSL