SSH SCP Hyperlink

March 13th, 2010 Leave a comment Go to comments

Following on from a previous post about creating and using an RDP Hyperlink on a computer running Windows, I have written another two .bat files for use with SSH and SCP protocols.

SSH Hyperlink

sshoptions.png

The first .bat file allows for easy installation/uninstallation of the SSH hyperlink association. It is used for a hyperlink with an associated prefix of ssh://. The bat file will invoke a 3rd party SSH client and establish a connection to the host.

To create and use a hyperlink that is prefixed by ssh:// you will first need to download the latest copy of putty.exe - HERE

Save or move putty.exe (rename to this if different) to C:\WINDOWS\System32\

Download ssh.bat - HERE

Extract and run ssh.bat to create the scp:// hyperlink association on your computer.

SCP Hyperlink

scpoptions.png

The second .bat file allows for easy installation/uninstallation of the SCP hyperlink association. It is used for a hyperlink with an associated prefix of scp://. The bat file will invoke a 3rd party SCP client and establish a connection to the host.

To create and use a hyperlink that is prefixed by scp:// you will first need to download the latest copy of WinSCP.exe - HERE (use the link for 'Portable executables')

Save or move WinSCP.exe (rename to this if different) to C:\WINDOWS\System32\

Download scp.bat - HERE

Extract and run scp.bat to create the scp:// hyperlink association on your computer.

Notes

After completing the above, any hyperlinks prefixed with ssh:// and/or scp:// will automatically be opened and a connection attempt made.

A hyperlink of:

ssh://someserver

would run putty.exe and attempt to connect to 'someserver'.

For more info about using these hyperlinks on webpages and within Zenoss check:

RDP Hyperlink

  1. No comments yet.