diff options
author | Toby Vincent <tobyv13@gmail.com> | 2021-10-17 18:57:14 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2021-10-17 18:57:14 -0500 |
commit | 493ac479e2beded9627880eaca324f612d9cafa1 (patch) | |
tree | 720399f1b5aa8723075a2e563c86c99e5f3e47fe /docs/cheatsheet.md | |
parent | ef1f04bd56e0591968a7eb40f4143c20fc8ee1a1 (diff) |
fix: fixed wsl install
Diffstat (limited to 'docs/cheatsheet.md')
-rw-r--r-- | docs/cheatsheet.md | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/docs/cheatsheet.md b/docs/cheatsheet.md index 71906a7..4ee0407 100644 --- a/docs/cheatsheet.md +++ b/docs/cheatsheet.md @@ -6,8 +6,7 @@ My personal cheat sheet of commands for various tools and workflows - [WSL2 Yubikey Setup](#wsl2-yubikey-setup) - [SSH Agent](#ssh-agent) - [In Windows](#in-windows) - - [GPG Agent](#gpg-agent) - - [Windows](#windows) + - [VS Code](#vs-code) - [In WSL2](#in-wsl2) # Git @@ -160,6 +159,25 @@ catch { New-ItemProperty -Path $key.PSPath -Name "wsl-ssh-pageant" -Value "$cmdl" ``` +<!-- Not sure if the following is needed or not. I thought it was but at the time of writing, I realize I did NOT have the .ssh/ssh.BAT file. So it may not be needed. + +### VS Code + +Due to how VS Code calls ssh, I found it necessary to create a shim for the WSL ssh bin. + +First create the following .bat file somewhere in your Windows fs. + +```bat + +``` + +Then, in VS Code, put the following in your settings.JSON, + +```json +{ + "remote.SSH.path": "C:\\Users\\tobyv\\.ssh\\ssh.BAT", +} +``` --> ## GPG Agent |