SSH-Keys
Last updated
Last updated
https://www.atlassian.com/git/tutorials/git-ssh
You can consider the public key as the lock and private key as the "key" to unlock the lock.
Example
This will create two files, the id_rsa which is the private key and id_rsa.pub which is the public key. This is the key you want to share with other hosts.
Add the public key to .ssh/authorized_keys
The public key would go into /home/USERNAME/.ssh/authorized_keys