ssh-agent
is a program that used together with OpenSSH or similar SSH programs provides a secure way of storing the private key.
In many places, you will find that the typical way of using ssh-agent
is:
$ ssh-agent > ~/.ssh/agent $ source ~/.ssh/agent
There is, however, an even easier way:
$ source <(ssh-agent)