I'm not sure whether you can connect to MAMP via Terminal (as SSH) that works like a server when SSH'ing into a webserver. I like to do this with MAMP but not entirely sure if you can - Google didn't help this part.
If I do this:
ssh -p 22 computername@*.*.*.53 // <- My IP address (starred out)
It will time out for Terminal.