I want to use ssh, something like this:
ssh -D 9999 username@ip-address-of-ssh-server
But within php CURL, but I don\'t really see how this cou
You could use ssh2 module and ssh2_tunnel function to create ssh tunnel throu remote server. Examples available: http://www.php.net/manual/en/function.ssh2-tunnel.php
ssh2_tunnel