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?