What is SSH Protocol
This document contains:
- Generate SSH Key from WHM
- Configure PuTTY to secure connection to your VPS Or Dedicated Server
- Connect To your VPS , Dedicate server using PuTTY SSH Key
You can generate ssh key from WHM by following these steps:
- Login to WHM as root account
Navigate to Security Center link in the Home page of WHM
- On the Security Center Page Navigate to Manage Root’s SSH Keys link
also in this section you can manage/delete keys if you have already generate SSH Keys before
- Once you click Create a New Key you have to fill the following :
- Key Name: The key’s name. that can be reconized by the root user. The defult name if leave it blank is id_rsa
- Key Password: is the password phrase that protect this public key
- Password (again):Re-Type the password “its important to type a strong password” Or you can Click Password Generator to allow WHM Generate Strong Password
- Key type:DSA — Provides quicker key generation and signing times.RSA — Provide quicker verification times.
Key size:Greater key sizes are more secure, but they result in larger file sizes and slower authentication times.
click Generate Key and if everythig is ok you should see result something like
Now you can go again to Manage root’s SSH Keys and from the list on action you can click Manage Authorization to to authorize the key if the status is not authorized
To use the PuTTY client application now you have to create PuTTY PPK format key ,click View/Download Key link from list in Private Keys
from the Next Page on Private SSH Key id_rsa (PuTTY PPK format) and Enter the passphrase to unlock id_rsa for conversion “the passphrase is the password that you enter in the step number 4 on this document” and click convert ,Then you can copy the contents of the next page and save it on your local computer as ppk file extension and this file is ready to use it in PuTTY to connect to your server in secure connection.
Configure PuTTY to secure connection to your VPS Or Dedicated Server
Now after you saved your private key file ppk on your local computer ,you can now configure the PuTTY software , if you dont have the PuTTY installed on Your local computer you can download it from Download PuTTY Link, then open your PuTTY and follow these steps to prepare the PuTTY to secure connection to your server:
Open PuTTY and from the session tab type your server IP
Now be sure that you assign root Auto-Login User on PuTTY from Connection >> Data
Now allow PuTTY to use the Private key ppk that you already prepare in the pervious section Add the file location from Connection >> SSH >> Auth >> on Private key file for authentication :
Connect To your VPS , Dedicate server using PuTTY SSH Key:
Now once you click connect the screen should show as following, prompting you to enter the password that you already created first