I am trying to create a remote shell on OS X with NC.
nc -l 1337 -e /bin/bash but it seems that the Mac version of NC does not support the
Does anyone know how I can achieve a remote shell on OS X preferably only using the built in tools?
Unfortunately SSH isn't an option. What I am doing has to be done solely from the command line (so GUI option alterations are out of the question). Also I am trying to avoid password's because it will cause problems for my client program.
EDIT: Apologies for lack of information. I thought I had added enough.
Basically, I have several VM's running OS X and need them to have able to use each others command line. My plan was to have NC running on each and the the main VM could send commands to them through a PHP script.
Also, the reason for wanting to use the build in commands/tools is because I this will eventually be run on physical hardware and Mac's will be added and removed regularly and I do not want to install new software on client machines.
The reason for avoiding GUI actions is that this will be run without supervision of myself and am trying to make this as seamless as possible. When a machine is connected, I am able to launch one command, and I need to do many commands and file transfers which is why a remote shell is what I am after.