Public Key Authentication with OpenSSH is preferred, as it's a much stronger method of authenticating to your servers when compared to using password authentication. In fact, password authentication in OpenSSH should always be disabled. But before you can password authentication, you'll need to set up public key authentication, and that's exactly what we'll do in today's video.
Helpful OpenSSH content to take your knowledge even further:
🐧 Locking down OpenSSH (goes over disabling password authentication):
➡️ • 5 Easy Tweaks to increase your Linux ...
🐧 Full OpenSSH Guide (goes over even more detail than this):
➡️ https://linux.video/ssh
Timecodes:
00:00 - Intro
02:32 - Checking if the OpenSSH client is present (Linux)
03:10 - Checking if the OpenSSH client is installed (MacOS)
03:44 - Installing PuTTY (Windows 10)
05:12 - Generating an SSH keypair (Linux and macOS)
08:40 - Testing OpenSSH connectivity (Linux and macOS)
09:30 - Copy the public key over to a remote server (Linux and macOS)
12:09 - Setting up a session for a server in PuTTY for Windows
13:38 - Creating an SSH key pair in Windows with PuTTYgen
15:40 - Using a PEM key to connect to a Linux server via PuTTY in Windows 10
VIDEO SPECIFIC LINKS
💻 Download PuTTY:
➡️ https://www.chiark.greenend.org.uk/~s...
About Me
🐦 Follow me on Twitter!
➡️ https://learnlinux.link/twitter
📘 FAQ
• What is a "Distribution" of Linux? ➜ https://linux.video/what-is-a-distro
• What is a "Desktop Environment"? ➜ https://linux.video/desktop-environment
• Which Linux Distro should I use on my Server? ➜ https://linux.video/which-server-distro
• How do I create USB install media? ➜ https://linux.video/install-media
• How do I create multi-boot USB media? ➜ https://linux.video/ventoy
• How do I connect to a Linux server via SSH? ➜ https://linux.video/use-ssh
• How do I exit vim? ➜ https://linux.video/vim
• How do I use APT? ➜ https://linux.video/apt
• How do I use DNF? ➜ https://linux.video/dnf
• How do I use pacman? ➜ https://linux.video/pacman
• How do I use zypper? ➜ https://linux.video/zypper
• What the heck is a "Flatpak"? ➜ https://linux.video/flatpak
• What is a "Snap" package? ➜ https://linux.video/snap
• How do I install Arch Linux? ➜ https://linux.video/install-arch
• How do I configure SSH on my server? https://linux.video/ssh-server
• How do I install updates? ➜ https://linux.video/updates
• What server tweaks should I implement? ➜ https://linux.video/every-server
• How do I use LVM? ➜ https://linux.video/lvm
• How do I use Git? ➜ http://linux.video/git
• When will the "Year of the Linux Desktop" Happen? ➜ https://linux.video/yotld
• Do you have a sense of humor? ➜ https://linux.video/lol
#SSH #OpenSSH #Linux