Skip to content

Instantly share code, notes, and snippets.

@vbfox
Created July 8, 2015 14:34
Show Gist options
  • Save vbfox/a733de9627fe8d26bb80 to your computer and use it in GitHub Desktop.
Save vbfox/a733de9627fe8d26bb80 to your computer and use it in GitHub Desktop.
Open putty on ssh links
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\ssh]
@="URL:SSH Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\ssh\shell]
[HKEY_CLASSES_ROOT\ssh\shell\open]
[HKEY_CLASSES_ROOT\ssh\shell\open\command]
@="C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -Command \"$val='%l'; $val = $val.TrimEnd('/');if ($val.StartsWith('ssh://')) { $val = $val.SubString(6) }; & 'C:\\Program Files (x86)\\PuTTY\\putty.exe' \"$val\"\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment