We already know how to use keys in order to connect through Secure Shell, but, there is an issue, it requires unlocking private key with a secret passphrase upon each connection.
To avoid this, we need to use ssh-agent, a program that runs in background and stores your keys in memory.
# start the ssh-agent in the background
$ eval "$(ssh-agent -s)"