How To Generate A SSH Public And Private Key Pair Using PuTTYgen To Connect To Your VPS
In this video, you will learn how to generate SSH public and private key pairs using PuTTYgen and use these SSH key pairs to connect to your cloud server or virtual private server (VPS) via PuTTY. When logging in to your VPS you often have two options to authenticate, either by SSH key or Password. Authenticating by SSH keys is more secure and is therefore the preferred login methos. If you are used to using a password to connect to your cloud server, you may encounter a scenario where there is no option to login via a password and therefore must use an SSH key pair to authenticate.
🔵 Free $200 DigitalOcean cloud credits using my referral link: https://digitalocean.pxf.io/c/1245219/1373759/15890
How To Get $200 In Free DigitalOcean Cloud Credits • How To Get $200 In Free DigitalOcean ...
Download PuTTY And PuTTYgen https://www.putty.org/
How To Install PuTTY on Windows 11 And Windows 10 • How To Install PuTTY On Windows 10 Or...
Steps To Generate A SSH Public/Private Key Pair & Login To Your VPS:
1. Log in to your server host provider and begin creating your cloud server
2. To add a Public SSH Key for authentication you will need to generate it. To do this you will need to download and install PuTTY (includes PuTTYgen). You can do so here https://www.putty.org/ or follow this step by step video of mine
3. Once you got PuTTY and all its complementary software, open PuTTYgen (PuTTY Key Generator)
4. Click Generate and move your mouse randomly to generate your public and private key pair
5. Copy and paste your public key which starts with "ssh-rsa" into the appropriate section on your VPS to add it and finish the creation process of your cloud server
6. In PuTTYgen save your Public key on your local machine and also save your Private key as a backup
7. Once your server is created, copy it's public IPV4 address and open up the PuTTY program
8. Paste in your servers IP address into the hostname section of PuTTY
9. Click the + symbol next to the SSH category in PuTTY
10. Click Auth
11. Click Browse and find your Private SSH key that you generated using PuTTYgen and saved on your local device.
12. Click Open to select it and then click Open again on PuTTY
13. The PuTTY command line terminal will then open and you should see Login as at the top left of the terminal
14. Type root and press Enter on your keyboard to be logged in.
Congratulations, you have successfully generated your SSH public and private key pair using PuTTYgen and logged into your cloud server using PuTTY's SSH key authentication.
Timestamps:
0:00 - Intro & Context
0:57 - Downloading & Installing PuTTY And PuTTYgen
2:07 - Generate & Save Public/Private Key Pair In PuTTYgen
4:17 - Connect To VPS Using PuTTY With SSH Key Authentication
5:46 - Closing & Outro
Grow your YouTube Channel with vidIQ https://vidiq.com/70s
Ubuntu Linux Tutorials (Playlist) • Ubuntu Linux Tutorials
More DigitalOcean Server Guides (Playlist) • DigitalOcean Cloud Computing Guides
Artificial Intelligence (AI), Machine Learning (ML), And Large Language Models (LLMs) Tutorials (Playlist) • Artificial Intelligence (AI), Machine...
Social Media
SUBSCRIBE / @websplaining
X (For Newest uploads) https://x.com/websplaining
Mastodon https://mastodon.online/@Websplaining
Personal Website https://www.websplaining.com/
#PuTTYgen #PuTTY #SSH
DONT FORGET TO LIKE, COMMENT, AND SUBSCRIBE!
Other Videos By Websplaining
Other Statistics
Putty Statistics For Websplaining
At this time, Websplaining has 88,982 views for Putty spread across 2 videos. His channel published less than an hour of Putty content, less than 0.25% of the total video content that Websplaining has uploaded to YouTube.