[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Telnet/ssh from Hobbit Display
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Telnet/ssh from Hobbit Display
- From: Ralph Mitchell <ralphmitchell (at) gmail.com>
- Date: Sat, 14 Jan 2006 02:01:40 -0600
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MfNFtWgC1+g901dyM0tcAe2hib3WOkmnU8Lc3uNP39s85xxiaOt3f3Qh9qSZfzPDO9PuKgtZ1n42CT5gHgf/4Wz5FItNN0zNycn+9g8ZTbAQ7FcpfJHi3qjVG6HRM3xc+0tZddxIRtJEZAEzAWpn2zQz24uocBE4OajqFma/YZ4=
- References: <7D2323EBE848D31186A30008C756045804827901@dmh-se-bro-msx1.dmh.state.ma.us> <43C7DB6E.5020504@steria.com>
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.
On 1/13/06, Frédéric Mangeant <frederic.mangeant (at) steria.com> 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
>
>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>