How to use PuTTY for SSH key-based authentication

In this guide, we will show you how to use PuTTY for SSH key-based authentication, allowing secure access to your server while enhancing your connection's safety.

Secure Shell (SSH)

SSH, or Secure Shell, is a protocol to securely access and manage a computer or device over an unsecured network. It provides a secure channel in an otherwise insecure environment, ensuring confidentiality and integrity of data.

Setup Putty for SSH key-based authentication

PuTTY: Secure SSH Connectivity for Windows

PuTTY is a widely used, open-source GUI tool to facilitate secure SSH connections. It enables users to establish encrypted tunnels for safe communication between Windows computers and remote servers.

Download Putty

PuTTY can be downloaded here. Follow these steps to install it:

Use PuTTY for a basic connection

Navigate to Puttygen

click on the file

Choose the All Files option.

To download, please select your key.

After selecting the SSH key, you will see content similar to the following:

Press ok :

Save Private key

Click yes

Naming and Saving Your Folder

Ensure your folder has a descriptive and precise name that reflects its contents. Follow these steps to save and name your folder properly:

  1. Right-click in your desired directory.

  2. Select New > Folder from the context menu.

  3. Type the folder name. Use a name that talks about the folder's purpose or content.

  4. Press Enter to save the folder with your chosen name.

Remember, a well-named folder facilitates easier access and organization of your files.

To start using PuTTY:

Enter your IP address and select Authentication > Credentials.

Open the browser select your key and click the open:-

Username: [Your Username]

Last updated