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

Subscribers:
1,040,000
Published on ● Video Link: https://www.youtube.com/watch?v=E8VjZ62Ns6Y



Category:
Guide
Duration: 20:56
3,602 views
96


In this video, we'll 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 Linode? Get started here with a $100 credit → https://www.linode.com/linodetube
Read the doc for more information troubleshooting SSH Key Issues → https://www.linode.com/docs/guides/ssh-key-authentication-how-to-troubleshoot-permission-issues/
Learn more about Creating an SSH Key Pair → https://www.linode.com/docs/guides/use-public-key-authentication-with-ssh/
Subscribe to get notified of new episodes as they come out → https://www.youtube.com/linode?sub_confirmation=1

#Linode #Linux #SSHKeys #AlternativeCloud
Product: Linode, SSH Host Keys, Linux; Jay LaCroix;




Other Videos By Akamai Developer


2022-04-06Intro to MySQL For Beginners Part 1 | Common Commands
2022-04-05Running a basic Ansible Playbook installing Nginx #shorts
2022-04-04Windows Red Team Persistence Techniques | Red Team Series 5-13
2022-04-01RocketChat | Fast, Secure, Open Source Communication
2022-03-30Managing Your Own Databases is a Task of the Past with Linode's Managed Database Platform
2022-03-28Linux Red Team Exploitation Techniques | Red Team Series 4-13
2022-03-25Installing TensorFlow on an Ubuntu Server
2022-03-23Speed Up Your SSH Sessions with These Seven Quick SSH Config Tricks
2022-03-21Windows Red Team Exploitation Techniques | Red Team Series 3-13
2022-03-18Connect Your Docker Containers to Domain Names For Easy Access using Portainer on Linode
2022-03-16How to Reset SSH Host Keys when Deploying Linux Templates in Proxmox
2022-03-14Red Team Recon Techniques | Red Team Series 2-13
2022-03-11Linode Dedicated CPUs Explained | Dedicated vs Shared CPU Instances
2022-03-10Use Terraform for FAST Automated deployments #shorts
2022-01-24Manage Docker Containers from a Web UI with Yacht Interactive Dashboards
2022-01-21Choosing the Right Linux Distribution | Pros & Cons of the Top 7 Server Distros
2022-01-19aapanel is a Free and Open-Source Web Hosting Control Panel | Easy Install on Linode
2022-01-14Git on Linux Simplified | How to Setup Your First Repository and Use Version Control
2022-01-12How to use External Storage on Nextcloud with Linode's Super Fast NVMe Block Storage
2022-01-10Focalboard | Get You and Your Team Organized with this Open-Source Self Hosted Trello Alternative
2022-01-07Master the Linux Command Line: Background & Foreground Jobs to Swap Tasks with the fg and bg Command



Tags:
cloud computing
linode server setup
cloud hosting
linode tutorial
open source
cloud computing tutorial for beginners
linode
linux
alternative cloud
linux tutorial
linux commands
linux command line
ssh
ssh host key reset
ssh host keys
proxmix clone
proxmox template
systemd
ubuntu server
machine id
reset machine id
private key
host keys
ssh keygen
linux ssh configuration
linux ssh tutorial
linux ssh setup
remote host identification has changed