I've tried to exploit this thing the whole morning, but I couldn't find a way out.
Let me explain my situation: my university gives to student a proxy access to the university network to let them look for science articles and so on on the net and download them without paying because the university already has contracts with them.
The problem is that the dorm I'm in has a firewall which doesn't let me connect to the proxy and the sysadmins already said that they won't open that port.
Fortunatly enough, I have ssh access on a server where I keep my personal website and so on, so I was thinking to use this opportunity (since I can do ssh from my dorm) to access the proxy. What I have in mind is this:
"my laptop" == ssh tunnel ==> "hosting server" == connect ==> "proxy server"
In this way I should be able to reach the proxy from within my dorm. Surfing the net I've found the program connect and this piece of information: http://bent.latency.net/bent/git/got...ect.html#sec21
So, first of all I've tried to ssh into my hosting server and launched the connect command from there with
connect -p 3128 proxy.unito.it 3128
and then create a ssh tunnel (from my shell) with
ssh -f user@hosting-server -L 3128:localhost:3128 -N
And it kind of works: setting firefox to use localhost:3128 as a proxy I can open one internet page, but after that the connect instance on the hosting server dies and I can't connect anymore. Basically, I shoud run again the program for each page I open.
Trying to keep things simple, I've also tried the command suggested on the link above, and from my shell I run:
ssh user@hosting-server connect proxy.unito.it 3128
but after asking for the ssh password I receive this message:
bash: connect: command not found
Of course connect is installed in the server and in the path.
So, do you have any suggestion on how I can make this thing work? It doesn't need to be a ssh tunnel or whatever, I just want access to the proxy.