Use Public Key Authentication to Establish an SSH Connection with PuTTY

In this article, we'll show you how to use PuTTy to establish an SSH connection using public key authentication.

Prerequisite

You entered the public key under Additional Settings > SSH Key when creating your Cloud Server.

  • Start PuTTY.

  • Enter the IP address of your server in the Host name (or IP address) field.

  • Under Category > Connection, click Data.

  • Enter the username in the Auto-login username field.

  • Under Category > Connection > SSH, click Auth.

  • Under Private key file for authentication: click on Browse...

  • Select the Private Key.

  • To establish the SSH connection, click Open.

Note

A warning message appears when logging in for the first time.

  • To allow the connection and save the key for future sessions, click Yes.

The SSH connection is established.