Creating a SSH key connection with a server

How to connect to a server using SSH key authentication. SSH keys provide a more secure and convenient way of logging into a server versus using a password. ...

Creating a SSH key connection with a server
Susan B.
7.3K views • Oct 28, 2022
Creating a SSH key connection with a server

About this video

How to connect to a server using SSH key authentication. SSH keys provide a more secure and convenient way of logging into a server versus using a password. While a password can eventually be cracked with a brute force attack, SSH keys are nearly impossible to decipher by brute force alone.

In a nutshell, the way SSH keys work is you generate a key pair that consists of a private key and a public key. Each key contains a long line of encrypted text.

The private key will exist on the computer you’re connecting from and the public key will go on the server you’re connecting to.

When you attempt a connection, the two keys are checked against one another and if they match up, the connection is authenticated.

In this guide we'll see how to generate a key pair and get the public key installed on your server.

⭐ NOTES ⭐
https://codewithsusan.com/notes/ssh-keys-server-connection?r=yd

📺 RELATED VIDEOS 📺s
Command Line Basics for Web Developers (Terminal / Git Bash)
https://youtu.be/S0XegNhpTs8

Fix for SSH Permission Denied (Public Key)
https://youtu.be/A9CSSbten_s

⏱️ CHAPTERS ⏱️
00:00 Introduction - Advantages of SSH keys
00:52 Basics of SSH keys
02:21 Generating key pairs
07:07 SSH config for custom key name
08:57 Installing public key on a new server
11:40 SSH'ing into the server
12:40 Installing public key on an existing server
15:15 Logging into an existing server

Video Information

Views

7.3K

Likes

127

Duration

18:41

Published

Oct 28, 2022

User Reviews

4.6
(1)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.