Adding SSH key to the ssh-agent

Adding a new SSH key to the ssh-agent to manage your keys


Start the ssh-agent in the background.
  1. eval "$(ssh-agent -s)"
    Agent pid 58588
  2. Add your SSH private key to the ssh-agent. If you created your key with a different name, or if you are adding an existing key that has a different name, replace id_rsa in the command with the name of your private key file.
    ssh-add ~/.ssh/id_rsa

Featured Post

NGINX Unit is dynamically configured using a REST API

There is no static configuration file. All configuration changes happen directly in memory. Configuration changes take effect without requir...