You are connecting to the Mac shell, not the Mac terminal. The remote app running on the iPhone is the terminal.