Re: How to close port 22 ?

2003-06-13 Thread David Landgren
Olivier Nicole wrote:
But I strongly suggest that you use SSH instead of telnet to allow
remote connection to your machine.
uh, maybe he doesn't want any remote connections to his machine?

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to close port 22 ?

2003-06-12 Thread Jarungwit BOONPERM
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 dont work. I still can connect port 22.
Please let me know how to close port 22.
thank you very much.
 regards,
Jarungwit.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to close port 22 ?

2003-06-12 Thread Rus Foster
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 dont 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: [EMAIL PROTECTED] | Virtual Servers from just $15/mo
e: [EMAIL PROTECTED]   | Community: http://www.65535.org
t: +44 (0) 7092016595   | 10% Donation on every FreeBSD product
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to close port 22 ?

2003-06-12 Thread Olivier Nicole
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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]