Creating a customized SSH key on Pop!_OS 22.04: step-by-step with screenshots

Alexandre Calaça - Sep 13 - - Dev Community

SSH

SSH, which stands for Secure Shell, is a cryptographic network protocol used for secure communication over an unsecured network. It is commonly used to access and manage remote systems securely.

SSH provides a secure channel over an insecure network by using strong encryption to protect the communication between a client and a server, preventing eavesdropping, connection hijacking, and other attacks.


SSH key

An SSH key is a pair of cryptographic keys used for secure communication between a client and a server using the SSH (Secure Shell) protocol. The two components of an SSH key pair are the private key and the public key.

Using SSH keys for authentication is considered more secure than traditional password-based authentication. The private key acts as a form of digital signature, and even if someone gains access to the public key, they cannot easily derive the corresponding private key.

Let's get down to business

shall we?

Image Let's get down to business<br>


Solution

List all SSH keys

ls ~/.ssh/
Enter fullscreen mode Exit fullscreen mode

Generate the SSH Key

ssh-keygen -t ed25519 -C "Alexandre Calaca EBH Pop_OS SSH Key" -f ~/.ssh/ebh_pop-os_ssh_key 
Enter fullscreen mode Exit fullscreen mode

Generate the SSH Key


Enter your passphrase

Leave it empty if you prefer.

Image Enter your passphrase


Visualize your SSH key

Image Visualize your SSH key


List your keys

ls ~/.ssh/

Enter fullscreen mode Exit fullscreen mode

Image List your keys


Done

Image Done


Let's network

Github
LinkedIn
Dev.to


Final thoughts

Thank you for reading this article.

If you have any questions, thoughts, suggestions, or corrections, please share them with us.

We appreciate your feedback and look forward to hearing from you.

Feel free to suggest topics for future blog articles. Until next time!


. . . . . . . . . . . . . . .
Terabox Video Player