August 2018
Intermediate to advanced
482 pages
12h 44m
English
To use key-based authentication, we need to create a pair of keys – a private key and a public key:
ssh-keygen -t rsa

While creating the key, we can accept the default values or change them as we wish. It will also ask for a passphrase, for which you can choose anything or leave it blank.
We can see that the id_rsa file can be read and written only by the owner. This permission ...
Read now
Unlock full access