Xymon Mailing List Archive search

Telnet/ssh from Hobbit Display

3 messages in this thread

list Todd Dmh Costa · Fri, 13 Jan 2006 11:41:34 -0500 ·
Hello Listers,

I am wonder if its possible in Hobbit to establish a telnet/ssh session to a
host that's being monitored from the Display? If it can be done, how do I go
about doing it?

I have read about adding html tags in the header/footer files on the BB
archives which comes close to what I want but did not explain further. I did
not find anything in Deadcat. Google is great but there's way too hits to
sift through.

My goal is to connect to an old device via telnet/ssh from a link in Hobbit.
I realize telnet is taboo but the device is/can be isolated from outside
connections (managed IP's). Can anyone point me in the right direction?

Thanks for your input.

--
Todd M. Costa
Commonwealth of Massachusetts
---
list Frédéric Mangeant · Fri, 13 Jan 2006 17:55:10 +0100 ·
quoted from Todd Dmh Costa
Costa, Todd (DMH) a écrit :
Hello Listers,

I am wonder if its possible in Hobbit to establish a telnet/ssh session to a
host that's being monitored from the Display? If it can be done, how do I go
about doing it?

I have read about adding html tags in the header/footer files on the BB
archives which comes close to what I want but did not explain further. I did
not find anything in Deadcat. Google is great but there's way too hits to
sift through.

My goal is to connect to an old device via telnet/ssh from a link in Hobbit.
I realize telnet is taboo but the device is/can be isolated from outside
connections (managed IP's). Can anyone point me in the right direction?
  
Hi

there are Java SSH clients, like : http://www.netspace.org/ssh/

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis
list Ralph Mitchell · Sat, 14 Jan 2006 02:01:40 -0600 ·
I just found this:

   http://p3m.org/wiki?Firefox

which says that you can set up some user pref entries in Firefox to
handle new protocols, so I went to the "about:config" page and created
these entries:

   one "string" type:

      network.protocol-handler.app.ssh

   with the path to a script as it's value:

      /usr/local/bin/fox

   three boolean types, set "true", true" & "false" respectively:

      network.protocol-handler.expose.ssh
      network.protocol-handler.external.ssh
      network.protocol-handler.warn-external.ssh

A test page contains this link:

   <A href="ssh:10.10.10.10">My Server</a>

and the /usr/local/bin/fox script contains this:

   #!/bin/ksh

   OFS="$IFS"
   IFS=":"
   set $1
   PROTO=$1
   URI=$2
   IFS="$OFS"

   if [ "$PROTO" = "ssh" ]; then
     exec /usr/bin/xterm -e ssh $URI
  fi

Obviously the script could do with some data validation - this was
just for proof-of-concept.  The arg handed to the script is the whole
uri including the protocol, so it could handle multiple protocols.

Anyway, when I click on the link, a new xterm window pops up with a
ssh session to my server.  I suppose if your desktop is running
Windows, the script would need to fire up putty.exe or something
similar.

Ralph Mitchell


It seems to work OK with Firefox-1.0.7 in Gentoo Linux.
quoted from Frédéric Mangeant
On 1/13/06, Frédéric Mangeant <user-b6ea1d850181@xymon.invalid> wrote:
Costa, Todd (DMH) a écrit :
Hello Listers,

I am wonder if its possible in Hobbit to establish a telnet/ssh session to a
host that's being monitored from the Display? If it can be done, how do I go
about doing it?

I have read about adding html tags in the header/footer files on the BB
archives which comes close to what I want but did not explain further. I did
not find anything in Deadcat. Google is great but there's way too hits to
sift through.

My goal is to connect to an old device via telnet/ssh from a link in Hobbit.
I realize telnet is taboo but the device is/can be isolated from outside
connections (managed IP's). Can anyone point me in the right direction?
Hi

there are Java SSH clients, like : http://www.netspace.org/ssh/

--

Frédéric Mangeant

Steria EDC Sophia-Antipolis