How to close port 22 ?

Olivier Nicole on at
Thu Jun 12 19:43:00 PDT 2003

Khun Jarungwit,

The file /etc/services tells you what is the port number for some
known services. The file /etc/services is not the file that start the

In the file /etc/rc.conf you must put a line:


to remove SSH.

But I strongly suggest that you use SSH instead of telnet to allow
remote connection to your machine.

Best regards,


More information about the freebsd-questions mailing list