Dev tip: add 'keychain' to solve Git: git@gitlab.com: Permission denied (publickey) with VSC

 If you set a password to push the commit to github or gitlab, it's safer. However, this will cause the issue: Git: git@gitlab.com: Permission denied (publickey). A solution is to regenerate the ssh key without password. But a better one is to add 'keychain' to ssh and solve this. It's perfect. Thanks Helge's solution.

Here is the link to solution. solution and a screen shot is here.

add keychain for the github ssh key
add keychain


Comments

Popular posts from this blog

Lab's weekly topic - week 50 2023 - Detailed explanation for encoder of U-Net

Lab's recommendation: Awesome books to learn machine learning and AI (continue updating)