Getting Started with OpenSSH Key Management

0 Views
Published
In various tutorials throughout the history of LearnLinuxTV, we've gone over the importance of using public keys with OpenSSH. But what do you do when you have multiple clients you work with, how do you manage keys between them? In this video, we'll go through an example scenario where we have three clients, and we need to maintain multiple SSH keys for each.

Note: It's recommended to watch the ssh config file video prior to watching this one: https://youtu.be/MWqfc_fegVg

## Support LearnLinuxTV (commission earned):
- Get your own cloud server with Linode ➜ https://linode.com/learnlinuxtv
- Support me on Patreon and get early access to new content! ➜ https://learnlinux.link/patron
- Check out my latest book, Mastering Ubuntu Server 3rd Edition ➜ http://ubuntuserverbook.com
- Check out Shells.com to spin up your very own Linux or Windows desktop in the cloud ➜ https://learnlinux.link/shells
- Affiliate store for Linux compatible hardware/accessories ➜ https://learnlinux.link/amazon
- Check out the Tiny Pilot KVM for your Homelab ➜ https://learnlinux.link/tinypilot

## Individual Sections:
00:00 - intro
01:58 - Overview of the sample scenario
04:49 - Using the ssh-keygen command to generate an RSA key
08:17 - Creating an SSH key pair for company #1 (Acme)
11:10 - Creating SSH key pairs for the other two companies
12:14 - Associating the SSH keys with their respective servers
14:11 - Specifying a particular key while connecting to a server
15:41 - Using the SSH agent to cache the passphrase for a key
18:57 - Specifying an SSH key within the SSH client config file

## Recommended evergreen videos:
- How to create a bootable flash drive for installing Linux ➜ https://linux.video/flash-usb
- Understanding Linux permissions ➜ https://linux.video/perms
- OpenSSH Guide ➜ https://linux.video/ssh
- LVM Deep-dive ➜ https://linux.video/lvm
- How to better secure OpenSSH ➜ https://linux.video/secure-ssh

## LearnLinuxTV Links:
- Main site ➜ https://www.learnlinux.tv
- Community ➜ https://community.learnlinux.tv

## About the host
- Personal blog ➜ https://www.jaylacroix.com
- Twitter ➜ https://learnlinux.link/twitter

## FAQ
- Which distro do I use? ➜ https://learnlinux.link/mydistro
- My recording gear (commissions earned) ➜ https://learnlinux.link/recording-stuff

#Linux #SSH #KeyManagement
Category
Management
Be the first to comment