PHP ssh2_connect通过代理

PHP ssh2_connect通过代理

问题描述:

Is there any solution to user ssh2_connect(host,port) via campany proxy ?

i think ssh2_connect not include connection via HTTP PROXY

thank you for help

用户ssh2_connect(主机,端口)是否有通过campany代理的解决方案? p>

我认为ssh2_connect不包括通过HTTP PROXY的连接 p>

谢谢你的帮助 p> div>

So I found a tip to skip the corporate http proxy when you developpe,

What we need : a server who has access to the source and ssh access

open tunnel from this server like this :

ssh -L 9999:server_probleme_access:PORT name_server_access_srouce@IP

after you juste call http://127.0.0.1:9999 and you will have access

Hope this help