<br><font size=2 face="sans-serif">To SSH from a URL......If anyone cares(on
a windows desktop).....</font>
<br>
<br><font size=2 face="sans-serif">1. Install PERL</font>
<br><font size=2 face="sans-serif">2.create new registry key (basically
just look at HK_CLASSES_ROOT\Telnet):</font>
<br>
<br><font size=1 color=blue face="sans-serif">[HKEY_CLASSES_ROOT\ssh]</font>
<br><font size=1 color=blue face="sans-serif">@="URL:SSH Protocol"</font>
<br><font size=1 color=blue face="sans-serif">"EditFlags"=dword:00000002</font>
<br><font size=1 color=blue face="sans-serif">"URL Protocol"=""</font>
<br><font size=1 color=blue face="sans-serif">"BrowserFlags"=dword:00000008</font>
<br>
<br><font size=1 color=blue face="sans-serif">[HKEY_CLASSES_ROOT\ssh\DefaultIcon]</font>
<br><font size=1 color=blue face="sans-serif">@="%SystemRoot%\\system32\\url.dll,0"</font>
<br>
<br><font size=1 color=blue face="sans-serif">[HKEY_CLASSES_ROOT\ssh\shell]</font>
<br><font size=1 color=blue face="sans-serif">@=""</font>
<br>
<br><font size=1 color=blue face="sans-serif">[HKEY_CLASSES_ROOT\ssh\shell\open]</font>
<br>
<br><font size=1 color=blue face="sans-serif">[HKEY_CLASSES_ROOT\ssh\shell\open\command]</font>
<br><font size=1 color=blue face="sans-serif">@="C:\\Perl\\bin\\perl.exe
c:\\ssh.pl %1"</font>
<br>
<br><font size=2 face="sans-serif">3. copy ssh.pl to c:\ (replace putty.exe
with whatever command line ssh prog you use)</font>
<br>
<br><font size=2 color=blue face="sans-serif">#!/usr/bin/perl</font>
<br><font size=2 color=blue face="sans-serif">if (scalar @ARGV) {</font>
<br><font size=2 color=blue face="sans-serif">       
$_ = shift @ARGV;</font>
<br><font size=2 color=blue face="sans-serif">       
s/ssh:\/\///;</font>
<br><font size=2 color=blue face="sans-serif">       
s/\///;</font>
<br><font size=2 color=blue face="sans-serif">system "putty.exe -ssh
$_";</font>
<br><font size=2 color=blue face="sans-serif">}</font>
<br><font size=2 face="sans-serif">4. Enjoy ssh from url</font>
<br>
<br><font size=2 face="sans-serif"><br>
Steve O'Brien<br>
City of Bend<br>
Network Administrator<br>
sobrien@ci.bend.or.us<br>
541-322-6393<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>sobrien@ci.bend.or.us</b>
</font>
<br><font size=1 face="sans-serif">Sent by: nagios-users-admin@lists.sourceforge.net</font>
<p><font size=1 face="sans-serif">06/26/2003 07:17 AM</font>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">nagios-users@lists.sourceforge.net</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">Re: [Nagios-users] Re: Looking
for a way to connect to host via Status map</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2 face="sans-serif"><br>
Well the telnet works great.  As for ssh I created a new file type
and associated my ssh program with it, problem is that the %1 variable
being passed is the full URL of SSH://myhost not just "myhost"
so the connection fails trying to ssh to ssh://myhost.  Weird that
the same variable when passed to hyperterm has no problem.</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
<br>
Steve O'Brien<br>
City of Bend<br>
Network Administrator<br>
sobrien@ci.bend.or.us<br>
541-322-6393</font><font size=3><br>
<br>
<br>
</font>
<table width=100%>
<tr valign=top>
<td width=39%><font size=1 face="sans-serif"><b>"Tedman Eng"
<teng@dataway.com></b> <br>
Sent by: nagios-users-admin@lists.sourceforge.net</font><font size=3> </font>
<p><font size=1 face="sans-serif">06/24/2003 12:51 AM</font><font size=3>
</font>
<td width=60%>
<br>
<table width=100%>
<tr>
<td width=13%>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td width=86% valign=top><font size=1 face="sans-serif">nagios-users@lists.sourceforge.net</font><font size=3>
</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">[Nagios-users] Re: Looking
for a way to connect to host via Status map</font></table>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=49%>
<td width=50%></table>
<br></table>
<br><font size=3><br>
<br>
</font><font size=2><tt><br>
xhostinfo.cfg<br>
<br>
Use the extended host info combined with a terminal program that catches<br>
URL's, or a browser with helper applications.<br>
When you click once on a device in the Status Map, it zooms in on that<br>
device.  Click again on the device once it's targeted and it takes
you to<br>
the extended host info screen.  This is where the links to connect
could be<br>
located.<br>
<br>
You can put these URLs in 2 places:<br>
notes_url - this link is on the folder icon and says "There Are Additional<br>
Notes for This Host..."<br>
icon_image_alt - This is the 'alt text' for the icon in the detail screen,<br>
but will show up in italics under the device name/picture.  You can
sneak<br>
HTML code into the text.<br>
<br>
define hostextinfo{<br>
       host_name       somedevice<br>
       notes_url       telnet://somedevice<br>
       icon_image      terminal.png<br>
       icon_image_alt  < a href= telnet://somedevice
>Telnet to:<br>
somedevice</a><br>
       statusmap_image terminal.gd2<br>
       }<br>
<br>
<sobrien@ci.bend.or.us> wrote in message<br>
news:OF4F4EEE0E.22E1BB5B-ON88256D4F.0000FA17-88256D4F.0000FF7E@CI.BEND.OR.US<br>
...<br>
<br>
Has anyone figured out how to click on a host in your status map and connect<br>
via ssh, telnet, walkie-talkie, etc...<br>
<br>
Steve O'Brien<br>
City of Bend<br>
Network Administrator<br>
sobrien@ci.bend.or.us<br>
541-322-6393<br>
<br>
<br>
<br>
<br>
<br>
-------------------------------------------------------<br>
This SF.Net email is sponsored by: INetU<br>
Attention Web Developers & Consultants: Become An INetU Hosting Partner.<br>
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!<br>
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php<br>
_______________________________________________<br>
Nagios-users mailing list<br>
Nagios-users@lists.sourceforge.net<br>
https://lists.sourceforge.net/lists/listinfo/nagios-users<br>
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. <br>
::: Messages without supporting info will risk being sent to /dev/null</tt></font><font size=3><br>
</font>
<br>