
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] SSH'ing to home with Java servlet
- Date: Tue, 01 Nov 2005 11:45:43 +0900
- From: Shawn <shawn@example.com>
- Subject: Re: [tlug] SSH'ing to home with Java servlet
- References: <9c414c890510261809u778bc81aq212b7505ccbeb400@example.com> <20051028103654.573c1c95@example.com> <9c414c890510280539o41f25430x17fb74aea831fcf2@example.com> <d8fcc0800510281806x48f387cfi4e855a5a067dea7e@example.com> <9c414c890510281932h597330fy470f60b178de1ded@example.com> <1130569428.4612.16.camel@example.com> <20051031210604.483ce61b.jep200404@example.com>
> 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