

- #SETUP PUTTY SSH KEYS HOW TO#
- #SETUP PUTTY SSH KEYS INSTALL#
- #SETUP PUTTY SSH KEYS GENERATOR#
- #SETUP PUTTY SSH KEYS PASSWORD#
- #SETUP PUTTY SSH KEYS FREE#
You will also be asked to enter contact details, just press ENTER for defaults. In this example we are adding a user called john. If not, you can try logging into your Linux box from Windows. If you are using DigitalOcean or similar cloud hosting, you should have SSH access via the control panel. To set up this account, you will need to access your Linux box via SSH. The root user is the administrative user in a Linux environment that has heightened privileges and you are discouraged from using it on a regular basis. It is recommended that you set up an alternative superuser account. You will now see the PuTTY command line terminal, resembling the one in the image below.Ĭongratulations! You just connected from your Windows box to your web server over SSH with Public/Private Key pairing using PuTTY SSH client.If you already have a non-root account with sudo privileges or know what you’re doing and want to set this up for the root account, skip to Step 2. You will see the Select private key file window. You will see the Options controlling SSH authentication window.

#SETUP PUTTY SSH KEYS GENERATOR#
You will see PuTTY Key Generator interface. Type in my_putty.ppk into the File name: field You will see the Save private key as: box with my_private_key.ppk file in it. PuTTYgen will display Successfully imported foreign key notice.

Enter into the box the same passphrase, you entered when you were creating your Private key in your CPanel a few minute ago.You will see the PuTTYgen: Enter Passphrase prompt box. Select my_private_key.ppk file from your Desktop.PuTTYgen will open the Load private key box. Save the file as my_private_key.ppk to your Windows Desktop.You will see your SSH Private Key encrypted text displayed in a text box.

#SETUP PUTTY SSH KEYS INSTALL#
Download PuTTY from this site and install it on your Windows box.For now, let’s move from your web server to your computer. You will create your Public SSH key in a few minutes. Good job! You just created your Private SSH Key. Your Private Key is displayed at the bottom of the page, in the Manage current keys section. You will see familiar Generate new SSH key pair page. In a few seconds, you will see The key has been successfully added! message.
#SETUP PUTTY SSH KEYS PASSWORD#
Fill in the First Name, Last Name, Email, Key Password and Password (Again) fields
#SETUP PUTTY SSH KEYS HOW TO#
Note: this tutorial demonstrates how to create SSH connection with PuTTY to a server hosted by SiteGround. You are then ready to connect with Public/Private key pairing over SSH using PuTTY. You finish the job by copying your Public Key from PuTTY into your server’s authorized_key text file. You begin by creating a Public/Private Key pair under your web hosting control panel.
#SETUP PUTTY SSH KEYS FREE#
In this tutorial, you will learn how to connect to your web server over SSH with the Public/Private Key pairing using Windows free SSH client PuTTY. Like, for example, WP-CLI for WordPress or Drush for Drupal. That’s why some content management systems offer command line interface to their users. Authenticating and working on your website over SSH is more secure since your connection is encrypted.Īlso, with SSH you will be able to perform some cool tasks not available to you over a graphical interface. Knowing how to connect to your website over SSH authenticating with Public/Private Key pairing is a great skill.
