Skip to content

Instantly share code, notes, and snippets.

@quonic
Created January 14, 2022 09:54
Show Gist options
  • Save quonic/90708108090a43ff1b63d41ef5bf5162 to your computer and use it in GitHub Desktop.
Save quonic/90708108090a43ff1b63d41ef5bf5162 to your computer and use it in GitHub Desktop.
Registers ssh:// to putty installed under c:\Program Files\PuTTY\
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