Mailing List Archive


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

Re: [tlug] SSH'ing to home with Java servlet



> I'm confused. 
my bad 
> It's easy to get lost in the hall of mirrors that tunneling is. 

this is not a tunnel

he asked about a java applet - I suggested a servlet

personally I'd try the tunnel route myself (which seems more consistant
with that magical "*nix way" people here venerate)  I suggested this
solution actually thinking about using it from a mobile phone over
https.

> 
> Which box is running the server with the servlet? 
> What do you mean by '"SSH" out'?  
> Which kind of traffic is going between all the 
> various boxes?  

     1. box at home runs app server (tomcat) with a servlet
     2. servlet serves http pages on port 80
     3. access the page from work
     4. enter in your commands (ls, grep, cp whatever) and upload file
        with password [to this securely, you'd want a list of disposable
        passwords that the servlet checks each time before running the
        commands.  Take a copy of the list to work and then send it in].
        Actually, you could just submit the file clear text since it is
        disposable but I thought pgping it would hide your password
        length.  If you did, pgp it, you'd have the ANT file decode the
        pgp file.
     5. the servlet will verify permission and then use ANT to run your
        commands on the box at home, catch the output and display it via
        http for you at work.
	

I'd try tunneling myself I think -- just to learn something new.

Shawn
   




Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links