douzui6173 2019-02-22 09:02
浏览 533
已采纳

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

  • 写回答

1条回答 默认 最新

  • doubo1871 2019-05-14 15:11
    关注

    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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?