I'm searching for a class / extension / whatever that allows me to use a proxy for an SFTP connection in PHP.
I've checked the ssh2_ftp function and phpseclib, but I didn't find any reference to proxy settings...
Any idea?
Would you be tunneling over SOCK4 or SOCK5 or HTTP CONNECT? Or something else?
One thing you might be able to do is modify phpseclib. eg. in the Net_SSH2 constructor, add in the code to connect to the proxy via SOCK4/5/whatever and then just let Net_SSH2 behave normally after that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With