ubuntu_22.04:pub_key
Differences
This shows you the differences between two versions of the page.
| ubuntu_22.04:pub_key [2025/02/13 13:43] – created 195.53.121.100 | ubuntu_22.04:pub_key [2025/02/13 13:44] (current) – 195.53.121.100 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | SSH public key authentication | + | ====== |
| SSH public key authentication is a four-step process: | SSH public key authentication is a four-step process: | ||
| Line 13: | Line 14: | ||
| Follow the sections below for the breakdown of every step in this process. | Follow the sections below for the breakdown of every step in this process. | ||
| - | ====== Generate a private and public key ====== | + | ===== Generate a private and public key ===== |
| Use the mkdir command to create the .ssh directory and set the correct permissions (700): | Use the mkdir command to create the .ssh directory and set the correct permissions (700): | ||
| Line 23: | Line 24: | ||
| ssh-keygen | ssh-keygen | ||
| - | ====== Add Public Key to User ====== | + | ===== Add Public Key to User ===== |
| Access the remote server and create the .ssh directory with the correct permissions (700): | Access the remote server and create the .ssh directory with the correct permissions (700): | ||
ubuntu_22.04/pub_key.1739454236.txt.gz · Last modified: 2025/02/13 13:43 by 195.53.121.100
