tunneling browser through ssh

mlibbey

Registered
Hi,
I'm trying to tunnel my browser sessions through a ssh session to my corporate machines (so I can access the corp. intranet). I'm not having much luck getting IE or Netscape to recognize3 the proxies however.

In ssh_config:
Host [server name]
TISAuthentication yes
User [user@servername]

I can create a successful ssh session
[localhost:~] me% ssh servername]
Challenge: ###### ...
In Netscape, I set the Edit>Preferences>Advanced>Proxies>SOCKS Proxy = 127.0.0.1 port 1080 (also tried localhost). In IE, tried Explorer>Preferences>Network>Secure Proxy 127.0.0.1 port 1080 (or localhost). Finally tried, putting these settings in the Network panel of System preferences.

Any ideas?
Thanks,
Miles
 
I thought you had to invoke SSH like this:
Code:
% [b]ssh -l joe -L 1080:corporate.com:80 corporate.com[/b]
That will give you a shell as well as do the port tunneling. You can use the -N switch to not even do the shell but just give you tunneling.

Then you can point your local browser to http://localhost:1080.

Or maybe you can make a proxy at localhost and port 1080 - I haven't tried that.

-Rob
 
Back
Top