Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2003 09:44:20 +0700 (ICT)
From:      Olivier Nicole <on@cs.ait.ac.th>
To:        bjarungw@bunga.pn.psu.ac.th
Cc:        questions@freebsd.org
Subject:   Re: How to close port 22 ?
Message-ID:  <200306130244.JAA11542@banyan.cs.ait.ac.th>
In-Reply-To: <Pine.GSO.4.43.0306130205500.26894-100000@bunga.pn.psu.ac.th> (message from Jarungwit BOONPERM on Fri, 13 Jun 2003 02:11:46 %2B0700 (GMT))
References:  <Pine.GSO.4.43.0306130205500.26894-100000@bunga.pn.psu.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
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
services.

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

sshd_enable="NO"

to remove SSH.

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

Best regards,

Olivier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306130244.JAA11542>