PuTTY, unfortunately, does not bind itself to ssh:// or any other URLs.
You can associate the application with the protocol manually. But this is not trivial. See below for instructions.
The easiest way to install WinSCP SFTP client . WinSCP 5.9 and newer registers to handle the ssh:// URL and opens the session specified by the PuTTY URL .
Basically, if you just install WinSCP, this will make PuTTY handle the ssh:// URL without manual settings.
(I am the author of WinSCP)
To register an application manually, see the MSDN article Registering an Application in a URI Scheme .
Basically you add a registry key, for example:
[HKEY_CLASSES_ROOT\ssh] @="URL: SSH Protocol" "URL Protocol"="" [HKEY_CLASSES_ROOT\ssh\DefaultIcon] @="\"C:\\Program Files (x86)\\PuTTY\\PuTTY.exe\",0" [HKEY_CLASSES_ROOT\ssh\shell] [HKEY_CLASSES_ROOT\ssh\shell\open] [HKEY_CLASSES_ROOT\ssh\shell\open\command] @="\"C:\\Program Files (x86)\\PuTTY\\PuTTY.exe\""
Although the above is the full PuTTY command line URL. And PuTTY does not understand the ssh:// prefix. Thus, you will need to add a shell script that breaks ssh:// and passes only PuTTY to the user and host.
To do this, see:
https://johnsofteng.wordpress.com/2009/05/12/launch-putty-from-browser/
source share