Back to Browse

How to Setup SSH Key Based Authentication with Ubuntu Server

13.8K views
May 24, 2024
6:15

πŸ‘¨πŸ»β€πŸ’» I made DevPayHub for solo devs. Payments & users handled. https://devpayhub.com Learn how to setup SSH key based authentication with an Ubuntu server. We will also go over why SSH key authentication is more secure than password authentication, how to disable password authentication, and managing keys with SSH agents. πŸ“š My Courses https://www.udemy.com/user/wittcode/ πŸ’» My Software https://chromewebstore.google.com/search/wittcode πŸ‘¨β€πŸ’» Download Code https://wittcode.com βŒ› Timestamps 0:00 - Introduction 0:16 - SSH Key Authentication vs Password Authentication 0:52 - Generating SSH Keys with ssh-keygen 2:34 - Publishing SSH Public Keys to Remote Server with ssh-copy-id 3:25 - Verifying Public Key on Server in authorized_keys File 3:51 - Editing Server SSH Config File to Enable SSH Key Authentication 5:00 - Adding Private Key to SSH Agent with ssh-add 5:35 - Testing SSH Connection 6:01 - Outro

Download

1 formats

Video Formats

360pmp49.9 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How to Setup SSH Key Based Authentication with Ubuntu Server | NatokHD