Check your operating system info
LSB release tool
lsb_release -a command is used to display detailed information about the Linux distribution on your system.
It stands for "Linux Standard Base release" and provides information such as the distribution's name, release number, codename, and more.
Linux installed info
cat /etc/os-release command in the terminal will display the contents of the
/etc/os-release file, which contains information about the Linux distribution installed on your system.
ssh-keygen -t rsa -b 2048 -C "your email"
Replace "your email" with your actual email address.
-t parameter specifies the type of key to create (in this case, RSA).
-b parameter specifies the key length.
-C parameter provides a comment (usually your email address) to help you identify the key later.
You can choose the path and filename.
If you just want to use the default name, press
Enter, otherwise, provide the name/path of the file.
Enter file in which to save the key (/home/elitebughunter/.ssh/id_ed25519):
I chose the following as the file name and location:
If you don't want to provide a password, just press
Created directory '/home/elitebughunter/.ssh'. Enter passphrase (empty for no passphrase):
List all your ssh keys
Verify the key
ssh-ed25519 AAZACZNzaZ2lZZI1NZE5ZAAAIOj3BR10R5aZetC7+EY4OIOZuwunQaZww9kxZWdwaZZZ email@example.com
You've made it!
Let's become friends
I hope this article has been helpful to you. Please feel free to reach out if you have any questions. Your thoughts, suggestions, and corrections are more than welcome.
By the way, don't hesitate to drop your suggestions for new blog articles.
I look forward to seeing you next time.