|Perl Monk, Perl Meditation|
Using SSH via SOCKS5 Proxy (Solution Posted)by cmv (Chaplain)
|on Sep 10, 2007 at 15:43 UTC||Need Help??|
cmv has asked for the
wisdom of the Perl Monks concerning the following question:
I currently setup a SSH session via a SOCKS5 proxy using the OpenSSH command:
Here's where I got connect.c to compile for my platform:
Now, I want to have my existing perl programs that use Net::SSH::Perl, to be able to use a SOCKS5 proxy, if needed. What is the best way to make this happen?
My current thought is to patch Net::SSH::Perl to use Net::SOCKS. Is there a better/easier/faster way?
Update: Based on queries generated from this thread, I've posted my solution at Using SOCKS via Net::SSH::Perl. Comments welcome.