On the Remote Machine:


Install GDBServer


sudo apt-get install gdbserver