0

I'm trying to get VS Code to work properly on my Windows Subsystem for Linux. For some reason, I am not able to permanently store the ssh key, and I am asked for the passphrase each time. I can do a combination of eval ssh-agent and ssh-add, but that only works until I leave the terminal. Every time I open a new repo in a new terminal, or restart VS Code I need to do it all over again. Is there any way to make it permanent?

Thanks.

Wojciech

1
  • Being asked for the passphrase once per login seems normal to me. Please post the code and how you set it up. Recommending tools is out of scope for SO, but maybe you want to re-use the putty agent? See wsl-ssh-pageant and its README for instructions. Commented Mar 28 at 14:56

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.