Package: netcat-openbsd
Version: 1.130-1
Severity: wishlist
File: /usr/share/man/man1/nc_openbsd.1.gz

On the man page:

           $ nc -zv host.example.com 20-30
           Connection to host.example.com 22 port [tcp/ssh] succeeded!
           Connection to host.example.com 25 port [tcp/smtp] succeeded!

[In reality there are many Connection refused messages not shown above,
but shown below. Therefore the above paragraph should make a note of it.]

           $ nc -zv host.example.com 80 20 22
           nc: connect to host.example.com 80 (tcp) failed: Connection refused
           nc: connect to host.example.com 20 (tcp) failed: Connection refused
           Connection to host.example.com port [tcp/ssh] succeeded!

Reply via email to