Re: ssh tunneling with -D option

2012-07-19 Thread Paolo Aglialoro
Thank you Aaron On Thu, Jul 19, 2012 at 3:39 AM, Aaron Mason wrote: > On Thu, Jul 19, 2012 at 9:07 AM, Paolo Aglialoro > wrote: > > > Issuing the following: > > # dsocks.sh lynx google.com > /dev/null 2>&1 > > > > Fixed that for you. Pipe stdout to /dev/null, then pipe stderr to > stdout.

Re: ssh tunneling with -D option

2012-07-18 Thread Aaron Mason
On Thu, Jul 19, 2012 at 9:07 AM, Paolo Aglialoro wrote: > Issuing the following: > # dsocks.sh lynx google.com > /dev/null 2>&1 > Fixed that for you. Pipe stdout to /dev/null, then pipe stderr to stdout. If you do it the other way, stderr will still appear on stdout. -- Aaron Mason - Progra

Re: ssh tunneling with -D option

2012-07-18 Thread Paolo Aglialoro
OK, thank you all very much for your precious support, I got da job done :) Also thanks to Nicolai for the DNS hint and to Alex about nc read. It's nice to share with a wise community!

Re: ssh tunneling with -D option

2012-07-18 Thread Nicolai
On Thu, Jul 19, 2012 at 01:07:48AM +0200, Paolo Aglialoro wrote: > So it looks I've been misled by the many people on internet who claim they > can use firefox establishing a ssh -D connection before. No, it's just that your first attempt to get this working was not the right way. To configure Fi

Re: ssh tunneling with -D option

2012-07-18 Thread ml
> @Alex > > So it looks I've been misled by the many people on internet who claim they > can use firefox establishing a ssh -D connection before. Actually I tried > to configure both firefox and netsurf but just had no results. > Firefox: Preferences - Advanced - Network - Settings - SOCKS Host

Re: ssh tunneling with -D option

2012-07-18 Thread Paolo Aglialoro
@ Abel thanks, now also firefox works, I just needed to specify *just* socks server *without* http one. very happy :)) @ Johan ok, http proxy should forward just http stuff, while socks should forward any kinda stuff, right? So any should include also http btw, right now I replicated

Re: ssh tunneling with -D option

2012-07-18 Thread Abel Abraham Camarillo Ojeda
with firefox you go to preferences -> use socks proxy 127.0.0.1 port 1080 or something like that. On Wed, Jul 18, 2012 at 6:07 PM, Paolo Aglialoro wrote: > @Abel > > I've had a look at dsocks page, the "instructions" are kinda criptic but > just did something this way: > > # ssh -D 1080 user@sshd

Re: ssh tunneling with -D option

2012-07-18 Thread Johan Beisser
You're confusing a SOCKS proxy with a HTTP proxy. They are not the same thing. Sent form my iFoe. On Jul 18, 2012, at 16:07, Paolo Aglialoro wrote: > @Abel > > I've had a look at dsocks page, the "instructions" are kinda criptic but > just did something this way: > > # ssh -D 1080 user@sshdhost

Re: ssh tunneling with -D option

2012-07-18 Thread Paolo Aglialoro
@Abel I've had a look at dsocks page, the "instructions" are kinda criptic but just did something this way: # ssh -D 1080 user@sshdhost # dsocks.sh lynx google.com it looks like working (yeaah!!! great piece of advice, mate!!!) but also produces lotsa garbage on the screen bottom like: "lyn

Re: ssh tunneling with -D option

2012-07-18 Thread ml
Hi Paolo, > http_proxy="http://127.0.0.1:12345/"; lynx google.com AFAIK, you should test SOCKS proxy, not HTTP. Regards, Alex

Re: ssh tunneling with -D option

2012-07-18 Thread Abel Abraham Camarillo Ojeda
On Wed, Jul 18, 2012 at 5:12 PM, Paolo Aglialoro wrote: > Hello, > > I'm trying to use a remote obsd box as a socks proxy through ssh. > Both local and remote are 5.1-release. > > After reading man pages, I specified in local ssh_config: > Tunnel yes > > and, also, in remote sshd_config: > AllowTc

ssh tunneling with -D option

2012-07-18 Thread Paolo Aglialoro
Hello, I'm trying to use a remote obsd box as a socks proxy through ssh. Both local and remote are 5.1-release. After reading man pages, I specified in local ssh_config: Tunnel yes and, also, in remote sshd_config: AllowTcpForwarding yes PermitTunnel yes So, I basically establish a session like