change the passphrase for an existing private key without regenerating the keypair
configure an authentication agent so that you won't have to reenter your passphrase every time you use your SSH keys.
ssh-keygen -p -f ~/.ssh/id_ed25519
Auto-launching ssh-agent on Git for Windows
run ssh-agent automatically when you open bash or Git shell
Copy the following lines and paste them into your ~/.profile or ~/.bashrc file in Git shell:
If your private key is not stored in one of the default locations (like ~/.ssh/id_rsa), you'll need to tell your SSH authentication agent where to find it
Now, when you first run Git Bash, you are prompted for your passphrase
The ssh-agent process will continue to run until you log out, shut down your computer, or kill the process.
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.