Created
July 23, 2022 16:11
-
-
Save aanari/1d265111601973d27b943897ab806a04 to your computer and use it in GitHub Desktop.
SSH and WSLHostPatcher
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem This starts up everything for WSL2 | |
C:\windows\system32\wsl.exe -e exit | |
rem and then it starts up WSLHostPatcher | |
C:\"Program Files"\WSLHostPatcher\WSLHostPatcher.exe | |
rem Finally, it starts the SSH server | |
C:\windows\system32\wsl.exe -e sudo service ssh start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment