LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   ssh through port 80? (https://www.linuxquestions.org/questions/general-10/ssh-through-port-80-a-24882/)

acromi 07-02-2002 03:34 PM

ssh through port 80?
 
at work i am behind a firewall. and i have absolutely no access to the outside except for http. i can view webpages, but i cannot ssh or telnet, or even ftp (even tho i really need that for my job =)

does anyone know of a way to connect to a ssh or telnet server through the http port?

i just want to be able to log into my box at home while im sitting here on slow days.

acid_kewpie 07-02-2002 03:46 PM

well you'll obviously need to be running an ssh server somewhere on port 80 to start with. easy enough. but there still could be filtering on the port tho.

acromi 07-02-2002 03:49 PM

well, my problem is that my ssh server is also my webserver. port 80 is busy.

im wanting to know if i can tunnel ssh though port 80 on this side, and forward it to port 22 .

if this is even possible.

Mara 07-02-2002 05:09 PM

I'm not sure if it is possible. If you can, try VNC and look if it helps.

pickledbeans 07-02-2002 05:43 PM

Cross post to openssh mailing list

gat_ 07-04-2007 12:00 AM

redirecting ssh
 
Quote:

Originally Posted by acromi
well, my problem is that my ssh server is also my webserver. port 80 is busy.

im wanting to know if i can tunnel ssh though port 80 on this side, and forward it to port 22 .

if this is even possible.


What about port 443 (https) ?

Gaetan Mathey
http://www.vmeste.fr

quicksilverprince 03-15-2009 03:26 PM

Static IP?
 
What kind of router do you have? does your work have a static IP? depending on your router, you can load ddwrt, which will allow you to forward certain ip addresses to different ports, eg 192.168.1.1's port 80 can be forwarded to port 22 on machine 192.168.1.100

jschiwal 03-15-2009 04:01 PM

You beat me to the punch. An iptables rule could do the same on the host. Using https to evade detection may not work. If his work browser goes through a proxy and has his employee's certificate installed, the traffic can be scanned normally, and only allowed through if this way.

Sorry to be a spoiled sport. Make sure that you aren't violating company policy (you most likely are). Ssh tunnels frowned upon because they can be as dangerous as they are useful. If something were to get through, even if it didn't come from your home network, you could be setting yourself up to be the scape goat. You may be underestimating the seriousness of doing this. With Sox, you could even get your employer in trouble. You may not just get a slap on the wrist. In today's economy, do you want to risk it?


All times are GMT -5. The time now is 01:16 PM.