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

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

图片转代码服务由CSDN问答提供 功能建议

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

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

谢谢你的帮助

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • doubo1871
    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

    点赞 评论

相关推荐