How to close port 22 ?

Rus Foster rghf at fsck.me.uk
Thu Jun 12 12:17:51 PDT 2003


On Fri, 13 Jun 2003, Jarungwit BOONPERM wrote:

> Dear sir,
>   I used FreeBSD 4.5. I want to close port 22 (ssh).
>   I comment at line "ssh" in "/etc/services" and
> restart system.
>   But don"t work. I still can connect port 22.

Hi,
Make sure there is aline that says sshd_enable="no" in /etc/rc.conf

Rgds

Rus Foster
--
www: http://www.65535.net       | Hosting - Shell Accounts
MSNM: support at 65535.net		| Virtual Servers from just $15/mo
e: rghf at 65535.net               | Community: http://www.65535.org
t: +44 (0) 7092016595           | 10% Donation on every FreeBSD product


More information about the freebsd-questions mailing list