Thread: disable telnet?
View Single Post
Old 02-07-2003, 03:12 PM   #2 (permalink)
joe_bruin
LOAD "*",8,1
 
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
joe_bruin is on a distinguished road
on a system with a standard inetd, simply comment out the line for telnet in /etc/inetd.conf, and tell inetd to restart by sending it a SIGHUP.

on systems using the messed-up xinetd, you'll have to edit the config files at /etc/xinetd.d/

assuming you're using openssh, set in /etc/ssh/sshd_config Port to 23 and a SIGHUP to sshd should do it.

a good system will have a man page for each important config file (ex: sshd_config(5))

what do you expect to gain by putting sshd on port 23?
joe_bruin is offline   Reply With Quote