How To Generate A SSH Public And Private Key Pair Using PuTTYgen To Connect To Your VPS

Channel:
Subscribers:
30,000
Published on ● Video Link: https://www.youtube.com/watch?v=4DbtuYBLCbk



Game:
Putty (1992)
Duration: 0:00
256 views
6


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


2025-02-14How To Build An AI Agent Or AI ChatBot Using GenAI Platform On DigitalOcean & Add It To Your Website
2025-02-08How To Setup Open WebUI And Run Any AI LLM ChatBot On A DigitalOcean GPU Cloud Server
2025-02-05How To Generate A SSH Public And Private Key Pair Using PuTTYgen To Connect To Your VPS
2025-02-04How To Setup DeepSeek-R1 LLM AI ChatBot Using Ollama On An Ubuntu Linux GPU Cloud Server (VPS)
2024-11-19How To Setup Ollama LLM AI Chatbot With Open WebUI, An Open-source AI User Interface On Ubuntu VPS
2024-11-15How To Set Your Domain Name As Your Bluesky Handle
2024-11-13How To Make An OpenVPN Access Server With Web-Based User Interface (UI) On DigitalOcean
2024-11-07How To Create PiVPN Server Using A Self-hosted Ubuntu Linux VPS And WireGuard Client
2024-11-04How To Make A WireGuard Easy (wg-easy) VPN Server With Web-Based Admin UI On An Ubuntu Linux VPS
2024-10-30How To Install One Click, Pre-configured Hugging Face (HUGS) AI Models On DigitalOcean GPU Droplets
2024-10-29How To Check NVIDIA GPU Specification Information On Ubuntu Linux Command Line Terminal
2024-10-29How To Create A NVIDIA H100 GPU Cloud Server To Run And Train AI, ML, And LLMs Apps On DigitalOcean
2024-10-25How To Make A Counter-Strike 2 (CS2) Game Server On A DigitalOcean Ubuntu Linux VPS (Droplet)
2024-10-22How To Create Your Own OpenVPN Server On An Ubuntu Linux VPS
2024-08-28How To Setup SPR : Secure Programmable Routers VPN Server On An Ubuntu Linux VPS
2024-01-08How To Request To Increase Droplet Limit On DigitalOcean
2024-01-04How To Create Your Own WireGuard VPN Server Using An Ubuntu Linux VPS
2023-12-28How To Create Your Own Pi-hole VPN Server On A Linux VPS Using DigitalOceans 1 Click Droplet Install
2023-11-27How To Quickly Share Your Connected Wi-Fi Network With Your Friends On Android
2023-11-25How To Turn On And Share Your Wi-Fi Hotspot Data With Friends On Android
2023-11-22How To Update The Google Play Store On Android



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.