Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] SSH'ing to home with only port 80



 > I am wondering if it is possible to HTTP to my Box at home (currently
> OK), and on that box run a server side Java SSH applet which since I
> was accessing it through HTTP, allow me to SSH out as if I was using
> my home box?
> 

I dk about an applet but you could do a servlet.

I used to play around with one to do a build for a mobile application.

Basically the servlet called an ant build file.    In effect, the box running the server
with the servlet then would "SSH" out whatever command you passed via
http in.


In the build file, you'd have to use an exec task like:

<exec executable="emacs"> 
  <env key="DISPLAY" value=":1.0"/>
</exec>

Anyway, there was an article on doing this via a servlet.  If you can't find it via google, let me know and I'll send the zip file I have with an example of calling an ANT build (which can call any system command) via a servlet.

I actually wanted to give a presentation about this at TLUG sometime but got sidetracked...

Cheers,

Shawn



PS  With http though they could sniff your password.  I'd set it up to run
https.



> Now that I describe it like that, I don't think thats going to work.
> Hmm... I wonder if I am stuck with no SSH access from work? (on Windows 98)...
 




Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links