Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a PHP socket script that I run from SSH on a remote dedicated server, but I want to try doing that using MAMP with SSH.

I have MAMP configured and am running a remote web server on port 80. I also have remote login enabled in sharing in system preferences and am able to SSH into localhost.

Once I SSH into localhost, I can't do much; the current directory seems empty. How can I get to my PHP file from there and open it so the socket runs?

share|improve this question
    
Could you clarify what you mean by "type dirs?" –  Randolf Richardson Mar 14 '11 at 5:28
    
i clarified my post –  chris Mar 14 '11 at 5:46
    
Great! I wonder if you're SSH'ing into a "chroot'ed" environment that provides you with access only to an empty path. Do you have root access to the system, or are you logging in as a regular user? I'm suspecting file system permissions. –  Randolf Richardson Mar 14 '11 at 14:42
    
i'm logging in as a myself using my username. ideally i'd want to access the ssh of mamp and not my computer 'terminal' if that makes sense. –  chris Mar 14 '11 at 20:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.