[Wylug-help] SSH over HTTP/HTTPS (Corkscrew?)
Steve King
wylug at kingsteve.co.uk
Wed Sep 26 18:53:42 BST 2007
On Wed, 26 Sep 2007, Dave Fisher wrote:
> The exact conditions that I find at most of my clients' sites.
Annoying isn't it!
> Looks interesting, and pleasantly simple.
Took about 15 mins to setup and test, and has since worked flawlessly.
>
> Is the ssh traffic always encrypted? ... even though it doesn't
> necessarily signify, I still get a bit worried when I see developer
> examples using 'telnet'
Yeah, the way it works is I run the HTS (http tunnel server) on my home box,
and then the HTC (client) on my laptop. On my laptop I then ssh to localhost
using whatever port I set in HTC and it "magically" sends it to the port I set
in HTS on the server (so 22 for ssh). My laptop runs XP, but there are linux
clients.
This is the .bat file I use on my laptop to connect
c:\temp\httptunnel\htc -F 8888 -P <schoolProxy>:8080 <homeHostname>:8888
putty -load "httptunnel"
and this is the script I run on my home server to start it
/usr/bin/hts -F localhost:22 8888
All of this traffic goes via the county proxy server by the way, and it works
fine. You can only have one connection per instance of hts, but you can have
multiple hts setups running on the server listening on different ports. The
HTS process needs restarting sometimes if the session got interupted (shoddy
school net connection mainly!) but as I said, I've got a page on my server
which just restarts it for me.
Steve
More information about the Wylug-help
mailing list