how to ssh using a sockv5 proxy with authentication?

How do you get SSH to use a socks proxy? I have tried:

ssh -o "connect -5 -S socks_proxy:1080 %h %p" host_server 22

I have tried to use socksify but I am not sure how to setup the client.

Has anyone else got this to work? I have googled my brain out on this too :\

Thanks for any help

Hmm, socks was so last century. Still, I suppose if you have no choice.

I assume you are trying to use the second solution described here:

Using OpenSSH through a SOCKS compatible firewall on your LAN

Do you actually have the sconnect or connect program installed? If not, then you need to find the package containing it or to compile it from source. Also when specified from the command line it should be -o ProxyCommand=“connect …”

That document is very old so take this with a grain of salt.

if socks was last century, what is used now?

I got the Dante SOCKS client working finally.

thanks.

What happened is that HTTP and HTTPS became the most common used protocols and the generality of SOCKS wasn’t needed at those sites. So SOCKS fell into disuse. The main problem with SOCKS was the need to socksify apps. sysadmins got tired of retrofitting this support all the time.

SOCKS - Wikipedia, the free encyclopedia

ssh can also be used as a forwarding proxy.