Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: SSH2 with SOCKS5 proxy

by salva (Abbot)
on Jul 13, 2012 at 06:30 UTC ( #981565=note: print w/ replies, xml ) Need Help??


in reply to SSH2 with SOCKS5 proxy

You can pass an open socket to Net::SSH2 connect instead of the host/port pair.

So you can create the socket, connect to the proxy and do the SOCKS5 handshake yourself and then call $ssh->connect($socket).

If you are on Linux/Unix you could even use an external program as socat to do the handshaking for you.


Comment on Re: SSH2 with SOCKS5 proxy
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://981565]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (14)
As of 2015-07-31 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (277 votes), past polls