How to ssh to a server with a private key using putty

This article will describe how to connect to your server using ssh and a private key on a windows operating system. The SSH protocol uses encryption to secure the connection between a client and a server. All user authentication, commands, output, and file transfers are encrypted to protect against attacks in the network. A windows operating system does not support SSH natively.

Prerequisites:
You will need to download an ssh client, the most famous and well known ssh client for windows operating system is "putty". Once you download putty from the official site, follow the procedures in order to get connected.

Procedures to install private key in putty and connect to a server:

  • Enter the remote server Host Name or IP address under Session.
  • Navigate to Connection > SSH > Auth. Click Browse under Authentication parameters / Private key file for authentication.
  • Locate the private key file example "private.key" and click "Open".
  • Click Open again to log into the remote server with key pair authentication.

Last update: May 18th, 2020

  • Access, Putty
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

CLI CSF Firewall Whitelist an IP Address

ConfigServer Firewall (CSF) is a powerful software firewall. All managed servers at Greens247...

How to change Private Key Format to Use with PuTTY

This guide will show you how to change your private key format, to use with PuTTY, which is a...

How to Disable SELinux on CentOS

SELinux (Security Enhanced Linux) is a Linux kernel security module that allows administrators...

How to Generate OpenVPN Client Configuration Files

A Virtual Private Network (VPN) is a physical trusted network in a remote location that you can...

How To Set Up and Configure an OpenVPN Server on CentOS

A Virtual Private Network (VPN) is a physical trusted network in a remote location that you can...