CCNA HUB

CCNA and Linux Training Hub!

CCNA and Linux Training Hub!

  • Home
  • R&S
    • IP Fundamentals
    • Switching
    • Routing
    • IPv4 Suite
    • IPv6 Suite
    • Labs
  • Linux
    • Virtualization 101
    • Basic Configuration
    • Security Measures
    • Database Server
    • Web Server
    • HTTP Tuneup
    • FTP Server
    • Mail Server
    • DNS Server
    • Control Panels
    • Monitoring
    • Backup and Maintenance
  • WordPress
  • About
    • Contact Us
    • Be part of It
    • Under the Hood
CCNA HUB > Blog > Linux > Configuring SSH-Key Based Authentication > Uploading SSH Public Keys using VPS Panel

Uploading SSH Public Keys using VPS Panel

By Imad Daou Leave a Comment

Post Views: 4,345

Building Professional Web Hosting Solution
<< Linux Basic Setup and Configuration Course
>> Configuring SSH-Key Based Authentication Section

section table
  1. Understanding SSH-Keys Based Authentication
  2. Creating SSH-Keys using Putty Keys Generator
  3. Creating Public VPS Droplet using DigitalOcean
  4. Managing Linux VPS Instance via Putty SSH Client
  5. Managing Linux VPS Instance via WinSCP Client
  6. Creating SSH-Keys using Terminal Keys Generator
  7. Switching SSH Password to SSH-Keys Authentication
  8. Uploading Admins and Friends SSH-Keys to VPS
  9. Uploading SSH Public Keys using VPS Panel
  10. SSH Hopping using SSH Agent Forwarding
  11. Deploying Public VPS instance using Vultr Provider
  12. Securing and Hardening SSH Server Configuration
  13. SSH Server and Client Most Known Error Messages
Uploading SSH Public Keys using VPS Panel
Image Source

Uploading SSH Public Keys using VPS Panel would be the next logical step after creating your SSH-keys. As mentioned, the Public key is simply what it sounds, the Public Part of your SSH-keys Chain. Using a Public Key, you can be certain that Only and Only the other pair of the SSH-keys pair (which is the Private) is able to unlock access to the VPS for Management. Meaning, no matter how Publicly the Public Key is exposed, it’s useless without its pair – Private Key.

It’s worth to mention also, that in encryption world, people can use your Private Key to encrypt something for you, and you at the other side of the world, only and only you will be able to decrypt the message since you own the second part of the Keys pair.

Objectives:

Adding Public Keys to VPS Service Providers

Prerequisites:

A. Basic Debian or Red Hat Linux Knowledge

B. Login to your DigitalOcean or Vultr Account

Recommendations:

For better performance, use VPS with at least 2 CPUs, 4G Memory, 1G Bandwidth, and SSD Storage drive.

Adding Public Keys to DigitalOcean or Vultr

Adding Public Keys to provider’s control panel is highly recommended before creating VPS instances, which will allow you to create VPS instances using SSH-keys option. If you are interested to set SSH-Keys for already running VPS, check Switch From Password to SSH-Keys Authentication Article.

DigitalOcean Platform

Login to DigitalOcean Control Panel and follow the steps as shown below.

Run the following steps ( 1 to 2)

1. Navigate to Add SSH-Keys Under Security

Adding SSH Public Keys to VPS Service Providers

2. You should see all Added SSH-Keys

Vultr Platform

Login to Vultr Control Panel and follow the steps as shown below.

Run the following steps ( 1 to 2)

1. Navigate to Add SSH-Keys Under Server Deploy

vultr-ssh-keys vultr-ssh-keys2

2. You should see all Added SSH-Keys

vultr-ssh-keys3

Summary

SSH-Keys considered the first line of defense against Bruteforce, however, to complete that defense line, you should remember to disable SSH Password Authentication when you reach to Securing and Hardening SSH Server Configuration Lab. Besides, under Best Security Measures course, I will show you how to setup Multiple lines of defense such IPtables Firewall, Intrusion Detection/Prevention, and Blacklist to protect your VPS.

Subject Related

By Wikipedia SSH | About SSH | Linode HowTo | DigitalOcean HowTo | Vultr HowTo

Building Professional Web Hosting Solution
<< Linux Basic Setup and Configuration Course
>> Configuring SSH-Key Based Authentication Section

section table
  1. Understanding SSH-Keys Based Authentication
  2. Creating SSH-Keys using Putty Keys Generator
  3. Creating Public VPS Droplet using DigitalOcean
  4. Managing Linux VPS Instance via Putty SSH Client
  5. Managing Linux VPS Instance via WinSCP Client
  6. Creating SSH-Keys using Terminal Keys Generator
  7. Switching SSH Password to SSH-Keys Authentication
  8. Uploading Admins and Friends SSH-Keys to VPS
  9. Uploading SSH Public Keys using VPS Panel
  10. SSH Hopping using SSH Agent Forwarding
  11. Deploying Public VPS instance using Vultr Provider
  12. Securing and Hardening SSH Server Configuration
  13. SSH Server and Client Most Known Error Messages
  • Was this information helpful?
  • Yes(0)   No(0)
Get Linux Updates!

tux_toilet

Filed Under: Linux, Configuring SSH-Key Based Authentication Tagged With: Public Keys, SSH-Keys, OpenSSH, SSH, SSH Client

About Imad Daou

CCNA HUB Founder, Imad has been in IT field since 2007. Currently holding A+, Network+, Server+, Security+, and Storage+. HP, Dell, and IBM Hardware Certified. Pursuing Linux+, LPIC-2, RHCSA, RHCE, AWS, CCNA, and JNCIA.

LEAVE A COMMENT Cancel reply

We're glad you have chosen to leave a comment. All comments are moderated according to our comment policy. Use your real name and not keywords in the name field. Let's have a personal and meaningful conversation.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Categories

Get CCNA HUB Updates!

MISSION

CCNA, Linux, and Wordpress Training Hub. For Students, Network Pros, DevOps, Linux/Wordpress Lovers, and Entrepreneurs. CCNA HUB Articles and Labs will help you build a solid foundation in Network, Linux, and Wordpress. E.g. Linux WHS will show you how to build a Professional Web Hosting Solution using DigitalOcean or Vultr VPS provider.

TAG CLOUD

TCP/IP understanding switching tcp sockets sudo transport layer wordpress CMS T1 TCP udp sockets switches wordpress.org CMS VLSM understanding Routing transmission control protocol transport layer protocols WAN Wordpress Hosting Hub wide area network SSH Client subnet mask su virtual circuit VPS Hosting SSH Agent Forwarding Wordpress Multisite

RSS UPDATES

  • IP Fundamentals
  • CCNA R&S
  • CCNA Labs
  • Linux WHS
  • Wordpress
  • All CCNA HUB Topics

Copyright © 2023 ·Genesis Sample Theme - Genesis Framework by StudioPress - WordPress - Log in

This website uses cookies. By continuing to browse the site, you are agreeing to our use of cookies
  • Home
  • R&S
    • IP Fundamentals
    • Switching
    • Routing
    • IPv4 Suite
    • IPv6 Suite
    • Labs
  • Linux
    • Virtualization 101
    • Basic Configuration
    • Security Measures
    • Database Server
    • Web Server
    • HTTP Tuneup
    • FTP Server
    • Mail Server
    • DNS Server
    • Control Panels
    • Monitoring
    • Backup and Maintenance
  • WordPress
  • About
    • Contact Us
    • Be part of It
    • Under the Hood