3 ms·
If you're using OpenBSD nc already, just use nc -c for TLS.
by juped 4y ago
If you're using OpenBSD nc already, just use nc -c for TLS.
- stevewatson301 4y agoDepending on your version of nc, -c is for sending CRLFs or executing sent data as commands. You might be looking for ncat instead.
- Denvercoder9 4y agoIn OpenBSD nc (as GP mentioned), -c is for a TLS connection: https://man.openbsd.org/nc.1 https://man.openbsd.org/nc.1
- Aissen 4y agoReminder, there are many different netcats, here are some of the most commons: - netcat-traditional http://www.stearns.org/nc/ http://www.stearns.org/nc/ - netcat-openbsd : https://github.com/openbsd/src/blob/master/usr.bin/nc/netcat.c https://github.com/openbsd/src/blob/master/usr.bin/nc/netcat... (also packaged in Debian) - ncat https://nmap.org/ncat/ https://nmap.org/ncat/ - netcat GNU: https://netcat.sourceforge.net/ https://netcat.sourceforge.net/ (quite rare) To prevent any confusion, I like to recommend socat: http://www.dest-unreach.org/socat/ http://www.dest-unreach.org/socat/
- silon42 4y agoMy nc has that as -C, no -c option.