Xdebug with multiple ssh tunnels (ssh gateway). Follow
Hi.
I'm trying to use remote xdebug on my development server but it is in a datacenter and access is through proxy (web) and a ssh gateway. I need to configure xdebug and php storm to work with a intermediary host. (I am using putty to log on to ssh gateway and issue a command "ssh dev").
local dev machine (windows with putty) -> gateway ssh/web proxy -> dev ssh.
192.168.1.2 10.10.0.1/10.20.0.1 10.20.0.2
I am trying different settings, remote forward, ports and stuff. Without any luck. I cannot use remote_connect_back because of the web proxy.
Ssh gateway has two interfaces - internal and external.
What settings should I use on gateway, putty and in php.ini ? Please HELP! :)
Best Regards
Please sign in to leave a comment.
Hi there,
You can use DBGp proxy
http://matthardy.net/blog/configuring-phpstorm-xdebug-dbgp-proxy-settings-remote-debugging-multiple-users/
Hi.
I figured it out! The missing part was GatewayPorts yes on ssh gateway :D Now I have a debug access to my dev machine :)