What Is ssh-keygen?
ssh-keygen is a tool for creating new SSH public-key key pairs.
SSH Keys and Public Key Authentication
The as a more secure alternative to the older .rhosts authentication. It improved security by avoiding the need to have a password stored in files, and eliminated the possibility of a compromised server stealing the user's password.
Creating an SSH Key Pair for User Authentication
The simplest way to generate a key pair is to run ssh-keygen without arguments. In this case, it will prompt for the file in which to store the keys
ssh-keygen
Generating public/private RSA key pair.
First, the tool asked where to save the file. SSH keys for user authentication are usually stored in the user's .ssh directory under the home directory.
The default key file name depends on the algorithm; in this case, id_rsa when using the default RSA algorithm. It could also be, for example, id_dsa or id_ecdsa.
Then it asks to enter a
Further Reading
Check out the next part of this series:
Post not found or has been removed.
SOCIAL SHARE CARD GENERATOR