Ready to be published? LXer is read by around 350,000 individuals each month, and is an excellent place for you to publish your ideas, thoughts, reviews, complaints, etc. Do you have something to say to the Linux community?
Recently I have being managing a box using a 3rd party application that allowed me to handle a windows box where I could use putty to get SSH access to a linux box. It had to be done this way because both my box and the linux box are nated, so they can't reach each other. Let me say it was a real PITA. The keyboard layouts were getting on my nerves. Some important keys didn't work sometimes... or at all (like ; or @ or ', etc). After a while I was encouraged enough to dig for a solution to get access to the SSH service of the linux box directly (or almost) instead of depending on this mess I was using.
This brilliant little feature enabled me to browse the web from an ISP whose service used transparent proxying... which was not working at the time:
ssh -cp2222 -L3128:localhost:3128 name.of.server
This allowed me to aim Firefox’s proxying config at the local box, which would then be tunnelled through to hit Squid on the remote box (a server at a static IP address on a reliable ADSL connection, one block from the exchange, 23Mb inbound) to enable conceptually direct access to the InterWebThingy.
With a DSA key & the same username on the remote host, I didn’t even need to supply a password.
With PuTTY (makes Windows useful) on the local end, that trick can still be done (hunt around the config panels a little).
Post a comment
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help
ssh -cp2222 -L3128:localhost:3128 name.of.server
This allowed me to aim Firefox’s proxying config at the local box, which would then be tunnelled through to hit Squid on the remote box (a server at a static IP address on a reliable ADSL connection, one block from the exchange, 23Mb inbound) to enable conceptually direct access to the InterWebThingy.
With a DSA key & the same username on the remote host, I didn’t even need to supply a password.
With PuTTY (makes Windows useful) on the local end, that trick can still be done (hunt around the config panels a little).