Launch PuTTY from Remote Connections Page
1. Copy Copy J:\FullCount\Documentation\Office\Workstations\PuttyUtil folder and contents under C:\ to create template directory for the below steps.
2. Right-click on C:\PuttyUtil\putty_setup.reg
and select Merge. Click “Yes” when prompted.
3. You are done! SSH links in your browser should now launch
PuTTY on your desktop and connect to the correct server.
Batch File Template
REM ---- Start of Batch File Template ----
@echo off
set var=%1
set extract=%var:~6,-1%
for /f " tokens=2* delims=:" %A in ("%extract%") do (
set port=%~A
)
cd C:\Program Files\PuTTY
start putty.exe %extract% %port%
REM ---- End of Batch File Template ----
Registry Settings Template
REGEDIT4
[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:\\PuttyUtil\\putty_util.bat\" %1"