Created
January 14, 2022 09:54
-
-
Save quonic/90708108090a43ff1b63d41ef5bf5162 to your computer and use it in GitHub Desktop.
Registers ssh:// to putty installed under c:\Program Files\PuTTY\
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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\ssh] | |
@="URL:ssh Protocol" | |
"URL Protocol"="ssh://" | |
[HKEY_CLASSES_ROOT\ssh\shell] | |
[HKEY_CLASSES_ROOT\ssh\shell\open] | |
[HKEY_CLASSES_ROOT\ssh\shell\open\command] | |
@="cmd /V:ON /c set params=%1 && set params=!params:ssh://=! && start \"PuTTY\" \"c:\\Program Files\\PuTTY\\putty.exe\" \"!params:/=!\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment