General Information
SSH key based authentication (password-less).
The following virtual machines will be used:
Key based authentication involves a private and public key.
The private key stays on the source system, the public key is distributed to all remote systems.
Generate the private/public key pair.
ssh-keygen
Copy the public key to a remote system
ssh-copy-id myserver
Key Pair with Passphrase
If you created the key pair with a passphrase, it is useful to cache the passphrase for a bash session to avoid re-entering it for each ssh connect.
Start the ssh-agent for the current shell
ssh-agent bash
Add the passphrase
ssh-add
Connect as normal with ssh, you should not be prompted for a password if the public key has already been copied to the remote server.