HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows XP

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 04-06-2007, 08:45 PM
squelch41@hotmail.com
 
Posts: n/a
Default Adding SSH to Windows

Hi,

I am trying to set windows to load an SSH client to deal with SSH://[url]
being entered into a browser (in the same way that putting telnet://[url]
loads the windows telnet client and connects to [url]).

I have editing the registry so that windows loads PUTTY rather than
the windows client for telnet by changing:

[HKEY_CLASSES_ROOT\telnet\shell\open\command]
@="rundll32.exe url.dll,TelnetProtocolHandler %l"


to


[HKEY_CLASSES_ROOT\ssh\shell\open\command]
@="putty -telnet %l"

which works very well.

To add SSH I have added the reg key:


[HKEY_CLASSES_ROOT\ssh]
@="URL:SSH Protocol"
"EditFlags"=dword:00000002
"URL Protocol"=""

[HKEY_CLASSES_ROOT\ssh\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00 ,52,00,6f,00,6f,
00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00 ,32,00,5c,
00,75,00,72,00,\
6c,00,2e,00,64,00,6c,00,6c,00,2c,00,30,00,00,00

[HKEY_CLASSES_ROOT\ssh\shell]

[HKEY_CLASSES_ROOT\ssh\shell\open]

[HKEY_CLASSES_ROOT\ssh\shell\open\command]
@="putty -ssh %l"

however, if I enter ssh://[url] (obviously URL is a working
address ) I get the error

"PuTTY Error Unable to open connection to ssh Host does not
exist"

I assume that this means my PC is loading the PUTTY client fine but
there is something wrong getting the target address into the program.
What I don't understand is why it works for telnet but not ssh!

Could anyone give me a hand?
Thanks in advance
squelch41

I assume that this means that

Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
Reply


Thread Tools
Display Modes



All times are GMT. The time now is 06:31 AM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger