Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2003 20:18:35 +0100 (BST)
From:      Rus Foster <rghf@fsck.me.uk>
To:        Jarungwit BOONPERM <bjarungw@bunga.pn.psu.ac.th>
Cc:        questions@FreeBSD.org
Subject:   Re: How to close port 22 ?
Message-ID:  <20030612201806.I98274@thor.65535.net>
In-Reply-To: <Pine.GSO.4.43.0306130205500.26894-100000@bunga.pn.psu.ac.th>
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
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@65535.net		| Virtual Servers from just $15/mo
e: rghf@65535.net               | Community: http://www.65535.org
t: +44 (0) 7092016595           | 10% Donation on every FreeBSD product



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