1

Problem: Solve the problem of ssh-add every time when booting under mac,

Use the Git repository every time the computer is restarted,
Will be prompted: Enter passphrase for key,
Then you need to go to .ssh again to execute ssh-add id_rsa.

Reason: The generated secret key is encrypted, as shown on the left side of the figure below, but not on the right side of the figure.

The corresponding link to solve the problem

image.png

Solution: modify the password, set the password to no password

image.png

After the operation: try git successfully. Retrying after restarting is also successful.

The mark is for reference only, welcome to correct and add Thanks


Jerry
481 声望203 粉丝

学习的付出 从不欺人。记忆总是苦,写总结最牢固