NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Problem to debug remote via ssh


Joined: 03 Jun 2008
Posts: 76
Location: Bavaria, Germany
Reply with quote
Hi folks,

i´m trying to debug remote scripts via ssh - with no luck. Crying or Very sad


i was reading this http://www.nusphere.com/kb/technicalfaq/howto_debug_rm_website.htm? and
http://www.nusphere.com/kb/technicalfaq/php_debugger_troubleshoot_ssh.htm and followed each step by step, but i always get this message from the server:

Quote:
DBG 3.9.2

Failed to start DBG session


Reason: connection to the client at 94.216.51.xxx:7869 is not allowed in php configuration
Not sure what it means? Visit http://www.nusphere.com/dbg/ for troubleshooting.

Debugger request: "625474@clienthost:7869;d=1,p=0,c=0"
Request found in: "$_COOKIE['DBGSESSID']"
Target PHP version: "5.2.x"
Server API: "Apache 2.0 Handler"
Extensions API: "220060519"
Modules API: "20060613"
PHP API: "20041225"



i checked following:
Quote:
myserver:~# netstat -na|grep -F ":7869"
tcp 0 0 127.0.0.1:7869 0.0.0.0:* LISTEN
myserver:~#

is this like it should be? I´m using Putty for ssh and tunneling:

I also tried with checking the 'Local ports accept connections ...' option.

I additionally configured my router to forward Port 7869.

The only way it works is if i put my IP address in php.ini
Code:
debugger.hosts_allow=localhost 127.0.0.1 94.216.51.xxx

But because this is a dynamic IP, i would have to change it every day which sucks Mad


What am i doing wrong? Can anyone give me a hint?

Every little help apprecciated

bitseeker
View user's profileFind all posts by bitseekerSend private message
Problem to debug remote via ssh
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic