Skip to main content

Stop Entering Your SSH Key Password Over and Over

To store a password-protected SSH key in the SSH agent so you don't have to enter the password over and over, run this command — you'll be prompted to enter the password once:

ssh-add ~/.ssh/id_ed25519

From then on, your SSH agent has the unlocked key for future interactions.