Secret weapon how to promote your YouTube channel
Get Free YouTube Subscribers, Views and Likes

How to Reset SSH Host Keys when Deploying Linux Templates in Proxmox

Follow
Akamai Developer

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/youtubevie...
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;

posted by antenasai