John Zbesko - 2008-03-04

Usually I figure out how to accomplish a task with experimentation, re-reading the fine manual, etc. However, setting up a means by which I can communicate with my home server from work is something I want to get right on the first try.

Currently, I use cygwin and proxytunnel to ssh to my home server using port 443, where my home server ssh daemon is set to listen on port 443. A new firewall at work now performs deep packet inspection and revealed the openssh over port 443.

I am also a webmaster for another hosted site and have access to it, but certainly not the control/access that I have for my home server.

Besides updating Proxytunnel to the latest version ;-) how can I ssh through the public site to my home server and have the entire session be conducted in SSL?

My current .ssh_config file on the cygwin machine contains:

host c-##-##-##-##.hsd1.il.comcast.net
    ProxyCommand /home/johnz/proxytunnel -g proxy.work.com -G 8080 -u john.zbesko -s p4ssw0rd -d  c-##-##-##-##.hsd1.il.comcast.net -D 443

Would I change this to:

host c-##-##-##-##.hsd1.il.comcast.net website_I_am_webmaster.net [someserver.org ???] DynamicForward 1080 ProxyCommand proxytunnel -v -p proxy.work.com:8080 -r c-##-##-##-##.hsd1.il.comcast.net:443 -d %h:%p -H "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)\n" ServerAliveInterval 30

And on my home server, I run Ubuntu, so there is no /etc/httpd/conf.d directory, but I do have a /etc/apache2/conf.d directory. I also have various configuration files, such as apache2.conf, httpd.conf, and ports.conf. I'm not quite sure where the SSL directive:

ProxyRequests on AllowCONNECT 22 2022 ProxyVia on

goes. Is this directive for the "website_I_am_webmaster.net" site?

Any help is greatly appreciated!