Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use netcat to chat in LAN.

PC1 listen port 8080

$ nc -l -p 8080

PC2 connect to PC1:8080

$ nc 8080

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

share|improve this question

2 Answers 2

up vote 1 down vote accepted

You should use socat instead.

share|improve this answer
great tool. Thanks. –  kev Jan 8 '12 at 15:36

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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