The GNU Netcat is TCP/IP based networking utility.
If you do not have netcat
installed, install it first. On Arch, you must install openbsd-netcat
. I accidentally installed the gnu-netcat
and it did not support many of the commands and the standard examples from the internet failed. Ubuntu already has netcat
installed.
After installation, use it using nc
.
-l
for listen, -v
for verbose)
nc -l -v 1432
nc server_name_or_ip 1432
If it succeeds, cursors on both of the computers will wait. Now type text in one terminal to send it to the other. Congratulations, you have a highly insecure client-server setup running.