Sign in to confirm you’re not a bot
This helps protect our community. Learn more

Introduction

0:00

Creating a VM in Proxmox

0:50

Installing Ubuntu Server

3:04

Resetting the Machine ID

4:37

Demonstrating the Wrong Way to go About This

6:12

Connecting to our VMs

8:27

Locating the Host Keys

8:56

What’s in a Host Key File?

9:18

Demonstrating the Right Way to go About This

10:08

Connecting to Our New VMs

11:18

Resetting the Machine ID

11:41

Creating a Template with Unique Host Keys

11:55

What’s In This Code?

13:03

Change File Permissions

15:39

Move the File

15:52

Restart systemd

16:20

Enable regenerate_ssh_host_keys.service

16:50

Checking the Key Before Regeneration

17:20

Reboot the System

17:44

Creating a Template in Proxmox

17:55

Clone the VM

18:43

Check the New Servers Keys

19:10

Conclusion

20:11
How to Reset SSH Host Keys when Deploying Linux Templates in Proxmox
194Likes
10,295Views
2022Mar 16
In this video, Jay from ‪@LearnLinuxTV‬ will go over how to create a new set of SSH host keys for each instance that you create from an image. Resetting SSH host keys, and making sure that each instance that you set up has different host keys, is vital to server security. Chapters: 0:00 Introduction 0:50 Creating a VM in Proxmox 3:04 Installing Ubuntu Server 4:37 Resetting the Machine ID 6:12 Demonstrating the Wrong Way to go About This 8:27 Connecting to our VMs 8:56 Locating the Host Keys 9:18 What’s in a Host Key File? 10:08 Demonstrating the Right Way to go About This 11:18 Connecting to Our New VMs 11:41 Resetting the Machine ID 11:55 Creating a Template with Unique Host Keys 13:03 What’s In This Code? 15:39 Change File Permissions 15:52 Move the File 16:20 Restart systemd 16:50 Enable regenerate_ssh_host_keys.service 17:20 Checking the Key Before Regeneration 17:44 Reboot the System 17:55 Creating a Template in Proxmox 18:43 Clone the VM 19:10 Check the New Servers Keys 20:11 Conclusion New to Cloud Computing? Get started here with a $100 credit → https://www.linode.com/lp/youtube-vie... Read the doc for more information troubleshooting SSH Key Issues → https://www.linode.com/docs/guides/ss... Learn more about Creating an SSH Key Pair → https://www.linode.com/docs/guides/us... Subscribe to get notified of new episodes as they come out → https://www.youtube.com/linode?sub_co... #Linode #Linux #SSHKeys #AlternativeCloud Product: Linode, SSH Host Keys, Linux; Jay LaCroix;

Follow along using the transcript.

Akamai Developer

1.04M subscribers