Private key login summary
1. Use ssk-keygen to generate keys
Manually generate the authorized_keys file
Copy the public key to the authorized_keys file,
Command: cat id_rsa.pub >> authorized_keys
4. Generate the known_hosts file
Edit the known_hosts file and add it according to the format hostname, ip, public key (don't forget localhost)
Copy.ssh to other hosts