Netcat

Da GolemWiki.

Pipe di stdin e stdout tramite reti TCP/IP.

Netcat

Sul server:

netcat -l -p port

Sul client:

netcat ip port

Esempio:

cat file.txt | netcat -l -p 1234
netcat 192.0.2.100 1234 > file.txt

OpenSSL

Sul server:

openssl req -x509 -nodes -days days -newkey rsa:1024 -keyout mycert.pem -out mycert.pem
openssl s_server -accept port -cert mycert.pem

Sul client:

openssl s_client -connect ip:port