I use netcat to chat in LAN.

PC1 listen port 8080

$ nc -l -p 8080

PC2 connect to PC1:8080

$ nc 192.168.10.1 8080

Unfortunately, this is not secure. Anyone sniffing packets can intercept my messages.
How can I chat securely?

link|improve this question

feedback

2 Answers

up vote 1 down vote accepted

You should use socat instead.

link|improve this answer
great tool. Thanks. – kev Jan 8 at 15:36
feedback

SSH would be an easy way. SSH to the machine then use netcat

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.