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 this:
# ssh -p <remote_sshd_port> -D 12345 user@mysshdserver

and then, on local machine, I go with:
# http_proxy="http://127.0.0.1:12345/"; lynx google.com

Lynx makes HTTP connection to 127.0.0.1:12345 and then sends HTTP request;
the comes "Alert! Unexpected network read error; connection aborted."

Using my local machine as the sshd server does not change the effect.
Also tried throwing in a linux box in the battlefield, but results are the
same.
Where is my mistake?

Thanks for your advice!

Reply via email to