April 2016
Beginner to intermediate
276 pages
5h 32m
English
Even though SSH login is protected by using passwords for the user account, we can make it more secure by using key-based authentication into SSH.
To see how key-based authentication works, we will need two Linux systems (in our example, both our Ubuntu systems). One should have the OpenSSH server package installed on it.
To use key-based authentication, we need to create a pair of keys—a private key and a public key.
ssh-keygen-t rsa