ssh-add ~/.ssh/id_rsa

Category: SSH & Remote

ssh-add ~/.ssh/id_rsa

Add an SSH private key to the authentication agent

Loads a private key into the SSH agent. After this, you won't need to enter the key's passphrase for each connection.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.