How To Find Http Proxy?

How do I SFTP over an HTTP proxy with a mac?

  • I have a Mac running OSX and use programs like Coda and Transmit to send out files. However, on certain networks, the only access I have to the net is via an http proxy (with no https, even!) . I understand there are ways to tunnel sftp over http but could not find an easy guide (or set of tools) to do so in a way where I can attach such tunneling to one profile (ie. CUSTOMER or WORK) and not have the proxying happen on another profile (ie. HOME) The challenge comes from the fact that the network is so clamped down that the http way is the only way (the good news is that it's on port 8090 and that windows applications seem to be able to proxy over 8090 without restrictions) What I'm looking for is a WYSIWYG software package that would allow me to easily establish a link from my sftp client to tunnel over the http port back out to the Internet (and possibly also tunnel things like Skype over that http proxy) Any ideas?

  • Answer:

    This may help get you started, though it's not as straightforward as what you want to do. http://www.engadget.com/2006/03/21/how-to-ssh-tunnels-for-secure-network-access/

TNLNYC at Ask.Metafilter.Com Visit the source

Was this solution helpful to you?

Other answers

I'm not sure that there is a straightforward way to do it with Coda/Transmit and have it "remember" the settings. I use a Mac but I don't really use either of those programs (I just use their bog-standard CLI equivalents, for the most part); I have a sneaking suspicion that tunneling SFTP over HTTP through a proxy is a rare enough situation that it's not going to be built in, but I could be wrong. What I'd do, if I were you, is become more comfortable with the standard commandline methods of setting up a tunnel, and then just use your FTP client of choice to connect to the tunnel endpoint. Or tunnel Skype. Or anything else you want. First thing you'll want to do is install the UNIX program "http://corkscrew.darwinports.com/" via http://corkscrew.darwinports.com/install/. Then you can just follow any of the http://polishlinux.org/apps/ssh-tunneling-to-bypass-corporate-firewalls/ on setting up an SSH tunnel through a proxy firewall. (You'll obviously need a machine outside the firewall to act as your tunnel's endpoint, if you want to tunnel traffic like Skype; your home computer would be the obvious choice.) Basically, you use corkscrew to push through the HTTP proxy, by encapsulating your SSH connection. Then you use the SSH connection to encapsulate whatever else you want to do (by using the -L switch to create a port-forwarding arrangement, or the -D switch to create a SOCKS proxy). Be aware that if you do this, you're probably violating all sorts of well-engineered corporate security policies, since you're effectively defeating the firewall. Think very hard about whether there's a better way of doing what you want, and read the docs for the tools before you use them; depending on where you work, this is fireable stuff you're playing with.

Kadin2048

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.