Created
August 13, 2019 13:03
-
-
Save 0i0/62730ea4f7f207f31d82652e2a51a3c3 to your computer and use it in GitHub Desktop.
shh:// schema handler for windows using linux subsystem (ubuntu)
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
reg add HKCR\ssh /ve /t REG_SZ /d "URL:ssh" | |
reg add HKCR\ssh /v "URL Protocol" /t REG_SZ /d "" | |
reg add HKCR\ssh\shell\open\command /ve /t REG_EXPAND_SZ /d "%LOCALAPPDATA%\Microsoft\WindowsApps\ubuntu.exe run ssh $(echo %%1| awk -F/ '{print $3}')" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment